Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!umd5!purdue!decwrl!hplabs!hpda!hpcupt1!hpsal2!morrell From: morrell@hpsal2.HP.COM (Michael Morrell) Newsgroups: comp.unix.questions Subject: Re: grep replacement Message-ID: <2450011@hpsal2.HP.COM> Date: 27 May 88 17:51:38 GMT References: <7882@alice.UUCP> Organization: HP System Architecture Lab, Cupertino Lines: 12 / hpsal2:comp.unix.questions / dcon@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