The standard input to your loop is redirected from file.txt, so both read ... #!/bin/bash cont=0 while read line <&3 do if [ $cont -eq 5 ] then read -p ...
確定! 回上一頁