Re: [問題] script 印出一百個*

看板LinuxDev作者 (rezod)時間17年前 (2008/05/02 01:08), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串4/4 (看更多)
※ 引述《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

05/03 11:58, , 1F
thanks all answer ^^
05/03 11:58, 1F
文章代碼(AID): #186Va0EL (LinuxDev)
討論串 (同標題文章)
文章代碼(AID): #186Va0EL (LinuxDev)