Andreas Schwab wrote:
It seems to me that tee should have a SIGPIPE handler which closes the broken fd and stops trying to write to it, and if ALL outputs have been closed, exit.That would not be compatible with POSIX.
In what way?Also, won't ignoring SIGPIPE cause problems later when tee tries to write() to the broken fd and gets back an error?
_______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils