8 Jan
2006
8 Jan
'06
14:27
Peter Sutter wrote:
mkfifo -m 666 ~/fifo while true do while read -t 5 data do echo "data is ($data)" done <~/fifo echo "read again" done
[snip]
How do I do it correctly?
There's something funky with doing it inside a shellscript - try doing "read -t5" from the bash prompt - works fine. /Per Jessen, Zürich -- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.