Hello,

I found what I think is a pretty good explanation what happens when shell
pipelines are stacked, and real time output stalls.

Eg,

tail -f messages
real time, lots of noise.

vs

tail -f messages | grep -F ip.ip.ip.ip
not so real time, just what I want.

Why can't I have both?

http://www.pixelbeat.org/programming/stdio_buffering/

tail -f messages | stdbuf -oL grep -F ip.ip.ip.ip
real time, just what I want.


Regards,


Scott Edwards.

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to