[Techtalk] grep question

Erin Mulder meara99 at yahoo.com
Fri Jan 18 10:18:02 EST 2002

Jeff wrote:
> man grep shows this:
>        -C, --context"[=NUM]"
>               Print NUM lines (default 2) of output context.
>        -NUM   Same as --context=NUM lines of leading and trailing
>               context.  However, grep will never print any  given
>               line more than once.

Hmm... this server must have an older version installed.  No such
option listed in man (and it doesn't work when tried).

Any other easy ways to accomplish it, or should I just try to find
a newer grep (this is actually a Solaris box on which I don't have
much access, so I was hoping for a quick fix).


Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

More information about the Techtalk mailing list