grep with following lines

From: arnoldh@celerent.com
Date: Wed Apr 20 2005 - 16:45:54 EDT


Under Tru64 is there a way to grep a file for a match and then once the
match is found return the line and then get the next 3 lines.

I found on the web that grep supports a -A num or -B num that supports
this, but under Tru64 the grep command doesn't know the -A or -B.

Thanks,

Howard

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:17 EDT