[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Intent to Rewrite: pwgen



On Thu, May 31, 2001 at 07:29:54PM -0400, Itai Zukerman wrote:
> With ls it's reasonable, but the following is something that drives me
> crazy.  Try it with a 1-line file, foo:
> 
>   tail -f foo | more             works
>   tail -f foo | grep .           works
>   tail -f foo | grep . | more    doesn't work
> 
> Looks like grep has different behaviour depending on if stdout is a
> tty?

This is getting off-topic from debian-devel, but no, this has nothing
to do with isatty().  The reason why you're not seeing anything from
the last line is that stdio buffering.  

						- Ted



Reply to: