Monday, March 3, 2008

Loop continue/break in bash

while [ $x -gt "$i" ]
do
x=$(($x+1))
if [ "$x" -eq 5 ] || [ "$x" -eq 9 ]
then
continue/break
fi
done