On 23/11/06, Michael Chesterton <[EMAIL PROTECTED]> wrote:
I guess grep is detecting whether it's talking to a terminal, and doesn't
buffer if it is (or probably line buffers).

There is no need to guess here - it's standard stdio behaviour (from stdio(3)):

When opened, the standard error stream is not fully buffered; the
standard input and output  streams are fully buffered if and only if
the streams do not to refer to an interactive device.

--P
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to