grep -B using sed
I was looking for a way to print 10 lines above a regexp
grep -B works but it doesnt on my SunOS's I was looking for a sed alternative or an awk or maybe perl Quote:
|
|
I found this also to be quite useful.
Quote:
|
Ask your sysadmin, but there are Sun pkgs that include the GNU tools, see http://www.sunfreeware.com/
|
All times are GMT -5. The time now is 06:57 PM. |