grep replacement

Sean Fagan sef at csun.UUCP
Thu Jun 2 03:05:11 AEST 1988


Something I'd like to see is this: grep '^<somepattern>$^<morepatterns>$...'.
While this would, of course, not be trivial, I think it would probably be
more general (and therefore more in the "spirit" of Unix(tm)) than showing n
lines around a matched pattern.
But that's just my opinion.

-- 
Sean Fagan  (818) 885-2790   uucp:   {ihnp4,hplabs,psivax}!csun!sef
CSUN Computer Center         BITNET: 1GTLSEF at CALSTATE
Northridge, CA 91330         DOMAIN: sef at CSUN.EDU
"I just build fast machines."  -- S. Cray



More information about the Comp.unix.questions mailing list