Rob Young | digital

Redirect stderr leaving stdout intact

This is a great little trick for redirecting stderr to another program while leaving stdout intact.

some-command 2> >( tee -a stderr.log >&2 )