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

[OFF-TOPIC] Re: Simple Unix utility?


On Sun, Dec 07, 1997 at 12:31:23PM +0100, Torsten Hilbrich wrote:
> cut doesn't buffers everything, grep is to blame.  If grep output to a
> non-terminal (e.g. a pipe) it use buffers of 4k (don't remember the
> correct value).  Unfortunatly, I don't know any way to get around
> this.

If that's the problem, then do 

	tail -f file | cut -b whatever | grep whatever

and presto, you're outputting to a terminal.
Won't work, of course, if cut has the same problem.


include <std_disclaim.h>                  Lorens KOCKUM ( kockum@efrei.fr )

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: