Craig Ringer wrote:
> Redirect stderr to stdout. Assuming bash:
>
> ${COMMAND} 2>&1 | ${COMMAND2}
That's not at all bash-specific; it should work for any POSIX shell.
If you're using zsh you can do it with &| to pipe both stderr and
stdout; i.e. 'command1 &| command2'
Cameron.