shell中continue和break区别
时间:2014-04-28 23:45 来源:linux.it.net.cn 作者:IT网
-
#!/bin/sh
-
for i in"a b c d"
-
do
-
echo "$i "
-
for j in `seq 10`
-
do
-
if [ $j -eq 5 ];then
-
break
-
fi
-
echo "$j "
-
done
-
echo
-
done
(责任编辑:IT)
(责任编辑:IT) |