Is there any way, in bash, to pipe stderr through a filter before unifying it with stdout? That is, I want
stdout ----------------\
|-----> terminal/file/whatever
stderr -- [ filter ] --/
rather than
stdout ----\
|----[ filter ]---> terminal/file/whatever
stderr ----/