當我嘗試在Bash中使用 read 命令時: echo hello | read str echo $str. 什麼都沒有回應,而我認為 str 應該包含字符串 hello 。 任何人都可以幫我理解這種行為嗎?
確定! 回上一頁