看板 LinuxDev 關於我們 聯絡資訊
※ 引述《RiverJackson (JACK)》之銘言: : 請問一下 : for $a in a b c;then : echo $a : done : 語法應該類似這樣 如果我想印出一到一千呢 : for $b in 1:1:100;then : echo $a : done : 這樣寫應該是錯誤的 要怎麼寫呢~~~~ for ((i=0; i < 1000; i++)); do echo $i done -- Real World, The (n.): 1. In programming, those institutions at which programming may be used in the same sentence as FORTRAN, COBOL, RPG, IBM, etc. 2. To programmers, the location of non-programmers and activities not related to programming. 3. A universe in which the standard dress is shirt and tie and in which a person's working hours are defined as 9 to 5. 4. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.165.165.124
RiverJackson:thanks all answer ^^ 05/03 11:58