grep replacement

Maarten Litmaath maart at cs.vu.nl
Sat Jun 18 20:07:20 AEST 1988


In article <7962 at alice.UUCP> andrew at 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 at cs.vu.nl, mcvax!botter!ark!maart



More information about the Comp.unix.wizards mailing list