Path: utzoo!attcan!uunet!mcvax!unido!rubmez!frei From: frei@rubmez.UUCP (Matthias Frei ) Newsgroups: comp.unix.wizards Subject: Re: grep replacement Message-ID: <136@rubmez.UUCP> Date: 30 May 88 11:04:42 GMT Organization: MEZ, RUB, Bochum, FRG Lines: 28 Posted: Mon May 30 12:04:42 1988 In-Reply-To: your article <7882@alice.UUCP> > 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 > should it handle? (Assume the existence of flags to make it compatible > with grep, egrep and fgrep.) Hi, some applications need to divert a file in two parts. One should contain all lines matching any patterns, the other one all lines not matching any of the patterns. So I want following flags: - d divert the file "matches" to stdout "nomatches" to stderr -r exchange stdout and stderr, if -d is given Will you post Your new grep to the net ? (I hope so) Thanks in Advance for a nice new tool Matthias Frei -------------------------------------------------------------------- Snail-mail: | E-Mail address: Microelectronics Center | UUCP frei@rubmez.uucp University of Bochum | (...uunet!unido!rubmez!frei) 4630 Bochum 1, P.O.-Box 102143 | West Germany |