linux - shell script with "while" loop and numeric test does not work ...
經安全檢測,此網站為安全網站,請放心前往原始網址!
linux - shell script with "while" loop and numeric test does not work ...
It should be while [ $i -lt $num_of_lines ] do done. or while (( $i -lt $num_of_lines
)) do done. or while test $i -lt $num_of_lines do done. You are ...