I tested this on a CentOS machine a while back and it worked nicely. Now on another machine, I try this and it fails to work. What is incorrect?
command 2> >(tee stderr.log >&2) && exit
I get this message back.
sh: syntax error near unexpected token `>'
Any suggestions?