grep replacement
David Robinson
david at elroy.Jpl.Nasa.Gov
Fri May 27 06:47:11 AEST 1988
In article <2978 at ihlpe.ATT.COM>, dcon at ihlpe.ATT.COM (452is-Connet) writes:
> In article <6866 at elroy.Jpl.Nasa.Gov> alan at cogswell.Jpl.Nasa.Gov (Alan S. Mazer) writes:
> >One thing I would _love_ is to be able to find the context of what I've
> >found, for example, to find the two (n?) surrounding lines. I have wanted
> >to do this many times and there is no good way.
> Also, what line number it was found on.
How about "grep -n"?
--
David Robinson elroy!david at csvax.caltech.edu ARPA
david at elroy.jpl.nasa.gov ARPA
{cit-vax,ames}!elroy!david UUCP
Disclaimer: No one listens to me anyway!
More information about the Comp.unix.questions
mailing list