greping stderr

From: Holger.VanKoll@SWISSCOM.COM
Date: Mon Dec 16 2002 - 06:44:20 EST


Hello,

can I grep stderr of a command without a 2>&1 ?

F.e. if file1 exists and file2 doesnt,

ls file1 file2 |"errgrep" file2

should give file1 on stdout and nothing on stderr.

Regards,

Holger



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:24 EDT