the box locks up !

Taavi Burns taavi-LbuTpDkqzNzXI80/IeQp7B2eb7JE58TQ at public.gmane.org
Tue Feb 3 23:37:45 UTC 2004


On Tue, Feb 03, 2004 at 06:29:00PM -0500, Byron Sonne wrote:
> If anyone has a quickie to grep for certain errors *and* display, let's 
> say, the 25 lines before and after the errors it greps out, that would 
> be handy.

It's called a man page.  "man grep" returns this nugget:
    -C NUM, --context=NUM
        Print  NUM lines of output context.  Places a line containing --
        between contiguous groups of matches.

-- 
taa
   A student recognizes Einstein in a train and asks:
   Excuse me, professor, but does New York stop by this train?
/*eof*/
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list