原帖由 edwardhey 于 2008-9-5 11:29 发表 test:代码 #!/bin/sh cat aa | read line echo $line aa : 代码 dsfdsaf 为什么无法从 cat file | read 变量的?
原帖由 waker 于 2008-9-5 12:09 发表 不同的shell对管道的处理是不一样的