Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!umd5!brl-adm!adm!williams@nrl-css.arpa From: williams@nrl-css.arpa Newsgroups: comp.unix.wizards Subject: new grep Message-ID: <16237@brl-adm.ARPA> Date: 20 Jun 88 22:11:19 GMT Sender: news@brl-adm.ARPA Lines: 28 Date: Fri, 27 May 88 14:39:34 EDT From: Root Boy Jim Subject: grep replacement (1087 chars) [More?] Al Aho and I are designing a replacement for grep, egrep and fgrep. The question is what flags should it support and what kind of patterns ... I have always thought it would be nice to print only the first match. (Root Boy) Jim Cottrell I'll second this. There have been many times when I simply wanted to detect the presence of a pattern in a file, then stop searching. Combining this with the -n option can also be useful. ------------------------------------------------------------ "If you're going to skate on thin ice, you might as well dance." - Denis Owens, WGMS 103.5 FM James W. Williams williams@nrl-css.arpa Systems Administrator, Code 5505 Information Technology Division Naval Research Laboratory (202) 767-9035 Washington, DC 20375 ------------------------------------------------------------