tail -f and pipes with bash shell
Lev Bishop
lev.bishop@gmail.com
Thu May 12 22:56:00 GMT 2005
On 11/05/05, Peter Ekberg <peda@axentia.se> wrote:
> What is going on here?
My guess: "tail frame.log" closes its stdout as soon as it has read
the requested lines from the file, "tail -f frame.log" keeps its
stdout open, since it is waiting for new lines to be added to the
logfile. Cat is using some buffering on its stdin, so it tries to read
a buffer's worth of data at a time.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list