Xref: utzoo comp.unix.wizards:9502 comp.unix.questions:7668 Path: utzoo!attcan!uunet!mcvax!botter!ark.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: grep replacement Message-ID: <1304@ark.cs.vu.nl> Date: 18 Jun 88 10:07:20 GMT References: <7962@alice.UUCP> Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatica, Amsterdam Lines: 11 In article <7962@alice.UUCP> andrew@alice.UUCP writes: \... \5) divert matching lines onto one fd, nonmatching onto another. \ sorry, run grep twice. Come on! The diversion is no problem at all to implement, and it can be very useful (you cannot run grep twice on stdin, without use of temporary files). Regards. -- South-Africa: |Maarten Litmaath @ Free U Amsterdam: revival of the Third Reich |maart@cs.vu.nl, mcvax!botter!ark!maart