1.while[]
#!/bin/dash min=1 max=100 while [ $min -le $max ] do echo $min min=`expr $min + 1` done
2. while(())
#!/bin/dash i=1 while(($i<5));do echo "while(()): $i" i=`expr $i + 1` done
1.while[]
#!/bin/dash min=1 max=100 while [ $min -le $max ] do echo $min min=`expr $min + 1` done
2. while(())
#!/bin/dash i=1 while(($i<5));do echo "while(()): $i" i=`expr $i + 1` done