Bash中for loop的continue...

#!/bin/bash
export aa=$1

for i in {1..10}
do

  if [ ! -z "$aa" ] ; then
    if [ $aa == $i ] ; then
      echo "exist... will break:"$i
      continue
    fi
  fi
  echo $i.....
done


# bash /tmp/test.sh 3
1.....
2.....
exist... will break:3
4.....
5.....
6.....
7.....
8.....
9.....
10.....