Is there any way, in bash, to pipe STDERR through a filter before unifying it with STDOUT? That is, I want
STDOUT ────────────────┐ ├
Take a look at named pipes:
$ mkfifo err $ cmd1 2>err |cat - err |cmd2