linux知識寶庫/shell/while迴圈中使用read

linux知識寶庫/shell/while迴圈中使用read

瀏覽:1085
日期:2025-04-29
while迴圈中使用read 2004-04-23 15:18 pm 作者:作者 來自:無名 如下SHELL #!/bin/sh cat file | while read line do echo "press any key" read key done read key這條語句不起作用,到底怎麼回事?file為一個文本文件 while read line do ehco "hello"...看更多