meta data for this page
  •  

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
coding:bash [2019/04/02 11:01]
ghsrobert [變數] = 前後不可有空格
coding:bash [2019/04/05 22:31] (目前版本)
ghsrobert 欲學迴圈未果
行 11: 行 11:
   * 字串可以用 ''%%'%%'' 括住 ← 只會留一個空格   * 字串可以用 ''%%'%%'' 括住 ← 只會留一個空格
     * ''"..."'' 可以保留任何空格字元     * ''"..."'' 可以保留任何空格字元
-    * 註解:行首或行中 ''# ''+  * 註解:行首或行中 ''# ''((更深入介紹各種方法:[[https://stackoverflow.com/questions/1455988/commenting-in-a-bash-script|syntax - Commenting in a Bash script - Stack Overflow]]))
  
 ==== 變數 ==== ==== 變數 ====
行 24: 行 24:
  
 <div tip>【目前進度】[[https://www.learnshell.org/en/Passing_Arguments_to_the_Script|Passing Arguments to the Script - Learn Shell Programming - Free Interactive Shell Programming Tutorial]]</div> <div tip>【目前進度】[[https://www.learnshell.org/en/Passing_Arguments_to_the_Script|Passing Arguments to the Script - Learn Shell Programming - Free Interactive Shell Programming Tutorial]]</div>
 +
 +==== 迴圈 ====
 +((20190405 為了實際應用的需要,跳過教程順序,超前學習 XD))
 +〔啊,LearnShell.org 的教程只介紹了不同種類 loop 的基本結構,沒有詳細說明啊〕
  
 ==== 執行 ==== ==== 執行 ====