[root@shnne ~]# vim test.sh #!/bin/sh for ((i=0; i<=5; i++)) do if [ $i -eq 3 ] then #continue #break exit fi echo $i done echo "ok"
[root@shnne ~]# vim test.sh #!/bin/sh for ((i=0; i<=5; i++)) do if [ $i -eq 3 ] then #continue #break exit fi echo $i done echo "ok"