context-grep
Rich Salz
rsalz at bbn.com
Thu Feb 9 09:04:06 AEST 1989
= I recall some time ago there was a discussion of some kind of
= variation on grep that could be used to show, e.g.,
= all lines in a file containing "foo" occurring within, say,
= 6 lines of a line containing "bar".
In <2557 at eos.UUCP> jaw at eos.UUCP (James A. Woods) writes:
=sure, GNU e?grep would handle this as:
= grep -6 bar file | grep foo
=thank mike haertel. it has been available via 'ftp' from prep.ai.mit.edu
=for quite some time.
I will be posting it in comp.sources.unix within a week.
James is too modest.
=p.s. anyone using the original fast e?grep under the stead of 4.3-tahoe
=should switch to GNU grep now.
Yes, indeedy, they surely should.
Look for it.
/rich $alz
--
Please send comp.sources.unix-related mail to rsalz at uunet.uu.net.
More information about the Comp.unix.questions
mailing list