シェルスクリプトで for ループ
for i in 1 2 3; do echo $i >> /tmp/num.log done for i in `seq 0 5`; do echo $i >> /tmp/seq.log done for a in ${ARR[@]}; do echo $a done
for i in 1 2 3; do echo $i >> /tmp/num.log done for i in `seq 0 5`; do echo $i >> /tmp/seq.log done for a in ${ARR[@]}; do echo $a done