With the posix shell (maybe other shells like korn), to pipe not only standard output, stdout, but also standard error, stderr, use the following:
first_command 2>&1 | next_command_in pipe
See the following: http://www.linuxdevcenter.com/pub/a/linux/lpt/13_01.html
6.23.2006
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment