Unless I'm mistaken, the Solaris grep doesn't support -B -A or -C and there's no native grep on Windows.
I don't see how that is relevant, gnu grep supports it and is available for every platform, including solaris and windows
Also, ack is egrep
In reply to Re^6: How to print the lines immediately above and below a matching line?
by Anonymous Monk
in thread How to print the lines immediately above and below a matching line?
by Bio90
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |