grep replacement

Michael Morrell morrell at hpsal2.HP.COM
Sat May 28 03:51:38 AEST 1988


/ hpsal2:comp.unix.questions / dcon at ihlpe.ATT.COM (452is-Connet) /  6:36 am  May 26, 1988 /

Also, what line number it was found on.

David Connet
ihnp4!ihlpe!dcon
----------

grep -n does this, but I'd like to see an option which ONLY prints the line
numbers where the pattern was found.

  Michael Morrell
  hpda!morrell



More information about the Comp.unix.questions mailing list