[Top][All Lists]

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

Re: tail needs non-wrap

From: James Youngman
Subject: Re: tail needs non-wrap
Date: Fri, 17 Dec 2004 23:17:52 +0000
User-agent: Mutt/1.3.28i

On Fri, Dec 17, 2004 at 01:04:59AM -0500, Hunter Peress wrote:
> there needs to be a way for tail to not wrap lines.  

Why?  tail doesn't modify the data that it reads, which seems to me to
be a sound principle.

> it would be useful for live monitoring an apache log (with tail -f) 
> while piping it through grep .
> currently i can do less -S  and then hit shift-F  , but i cant grep
> anything like this.

Why not just use
        tail -f ....  | expand | cut -c1-80 | grep ... ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]