Using the answer found in How can you diff two pipelines in Bash? I have written some shell scripts that I want to compare the output of:
diff <(script1 | script2) <(script3 | script4)
However, any errors printed to STDERR in any of the scripts in the subshell pipelines disappear. How can I get them to print in my outer level script (that contains the diff)?