[SunHELP] grep

Bret Adams bret at fabrikant.com
Thu Jul 31 11:15:58 CDT 2003


Hey Everybody:

I was trying to find a way to grep a pattern in a file and then print out 
that line and the two lines preceding the match.
I already manned the grep, egrep and fgrep man pages and nothing was listed 
that fit the bill.  Maybe there is a more robust version
of grep out there.  Any pointers would be appreciated.  Thanks in advance.

Bret



More information about the SunHELP mailing list