in reply to Emulating GNU grep -A and -B switches with perl (was: linux grep feature)

You could probably get GNU grep (external link) to compile on Solaris if you prod it enough.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: linux grep feature
by gellyfish (Monsignor) on Jun 11, 2003 at 14:49 UTC
    Alternatively there is http://www.sunfreeware.com/ where a precompiled binary may be found for the appropriate OS/Hardware version.
    /J\