"Scott K. Ellis" <[EMAIL PROTECTED]> writes:

> On Sat, 6 Dec 1997, [iso-8859-1] Nicolás Lichtmaier wrote:
>
> > > Now I notice that "cut" seems to buffer everything up.
> >
> >  You should file a bug against cut, it should do line buffering when output
> > is a tty.
>
> It may be something in the middle of the pipe doing the buffering.  Not
> certain how to handle that case.

Yes, that's the case - I had grep in the pipe before cut.

ie.

tail -f var/log/access.log | grep -v 'gif' | cut -c1-150

Maybe I'll just use a little perl script (with $|=1) to do the filtering I
want - that's probably easiest.

Cheers,

 - Jim

Attachment: pgpFR3u3X4EvB.pgp
Description: PGP signature

Reply via email to