Both... cnt=0 while [ $cnt -lt 10 ] do ((cnt++)) done echo $cnt ...and... cnt=0 while [ $cnt -lt 10 ] do let cnt=cnt+1 done echo $cnt.
確定! 回上一頁