On Wednesday 29 May 2002 11:11 am, you wrote:
> this redirects stderr to stdout and pipes the whole thing to grep:
>
>    strace lsof 2>&1 | grep System
>
> how do i grep *just* stderr and not both stderr and stdout?

to summarize:
  strace lsof > /dev/null | grep System
works fine in my tests.  (Mike just showed this.)  doesn't seem
as complicated as Mike's general analysis first led me to believe
(as useful as the analysis is).

shawn.
_______________________________________________
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to