My variants of grep (Solaris 7) does not understand the following options:
-A NUM, --after-context=NUM
Print NUM lines of trailing context after matching lines.
-B NUM, --before-context=NUM
Print NUM lines of leading context before matching lines.
How else can I get a number of lines before and after the matching lines ?
-A NUM, --after-context=NUM
Print NUM lines of trailing context after matching lines.
-B NUM, --before-context=NUM
Print NUM lines of leading context before matching lines.
How else can I get a number of lines before and after the matching lines ?