> The more general tee --write-error={[cont],ignore,exit}
> should handle this http://bugs.gnu.org/11540
> It's nearly at the top of my TODO list.
It's not the same. Catching SIGPIPE is not about continuing on error,
but about only stopping the output with
the error, and not the others
(when you have more than one output.)
Both would probably complementary.
> tee works in non buffered mode by default
> so I need to consider the implications of "text mode".
The patch I suggested is also working in non buffered mode
I called it text mode, only because it stops reading at every '\n'
Since it is mostly useful when you get input from a pipe and
want output to appear line by line in screen, performance
should not be too much of a problem.