shell循环语句for

1
2
3
4
5
6
7
8
9
10
11
12
#! sh


for i in 1 2 3 4 5
do
echo $i
done

for str in 'one' 'two' 'three'
do
echo $str
done

转载请注明来源 https://tianweiye.github.io