in reply to Re^2: Read from a Linux pipe hangs.
in thread Read from a Linux pipe hangs.
Note that by not running cat just once, you will not receive end-of-file, and as such you need to read using sysread from the consumer.shell> for ((;;)); do cat /usr/share/dict/words;sleep 10 ;done |./cons +umer.pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Read from a Linux pipe hangs.
by dmor4477 (Initiate) on Feb 24, 2005 at 12:24 UTC | |
|
Re^4: Read from a Linux pipe hangs.
by dmor4477 (Initiate) on Feb 24, 2005 at 12:06 UTC | |
by Ultra (Hermit) on Feb 24, 2005 at 12:24 UTC |