Re: [問題] script 印出一百個*
※ 引述《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
05/03 11:58, 1F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):
LinuxDev 近期熱門文章
PTT數位生活區 即時熱門文章