Maybe you should get a grep which supports the -B option... GNU grep does, and should compile on nearly any platform.
In reply to Re: Print line before match
by almut
in thread Print line before match
by ddrew78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |