
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] Piping stderr?
- Date: Wed, 19 Jun 2002 11:09:52 -0400
- From: Josh Glover <jmglov@example.com>
- Subject: [tlug] Piping stderr?
- Organization: INCOGEN, Inc.
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606
I have always wondered about this:
Is it possible to pipe (not redirect) stderr? I have seen some
references on Google to a mysterious '|&' operand which might have done
just this in Korn shell, but I cannot seem to find anything on this in
the bash docs.
Ideas?
�Ȥ����ǡ��ʤ����Ȥ����ȡ�sometimes one wants to log the output, on both
stdout and stderr to a file (a la 'foo >log 2>&1') but would like to see
the output as well. So 'foo | tee log' will handle that for stdout, but
not stderr, as that does not get piped to tee's stdin.
If I am missing something obvious, feel free to advise me of my idiocy! ;)
--
Josh Glover <jmglov@example.com>
Associate Systems Administrator
INCOGEN, Inc.
Home |
Main Index |
Thread Index