how to test if a pipe contains data

Christof Warlich christof at warlich.name
Sun Jan 22 15:58:42 UTC 2012


Hi,

is there a way to test whether data is available for reading from a pipe 
with busybox? With bash, I could do "read -t0" and check the exit 
status, but unfortunately, the -t option is not available in the busybox 
read command.

Thanks for any help,

Chris


More information about the busybox mailing list