grep with following lines

From: <arnoldh_at_celerent.com>
Date: Wed, 20 Apr 2005 16:45:54 -0400

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/ .
Received on Wed Apr 20 2005 - 20:47:50 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT