|
From: | Bob Proulx |
Subject: | bug#22195: deviation from POSIX in tee |
Date: | Fri, 18 Dec 2015 11:38:53 -0700 |
User-agent: | Mutt/1.5.24 (2015-08-30) |
Pádraig Brady wrote: > Paul Eggert wrote: > > trap '' PIPE > > Generally you don't want to ignore SIGPIPE. > http://pixelbeat/programming/sigpipe_handling.html > as then you have to deal with EPIPE from write(): I wanted to add emphasis to this. Ignoring SIGPIPE causes a cascade of associated problems. Best not to do it. Bob P.S. Typo alert: http://pixelbeat/programming/sigpipe_handling.html Should be: http://www.pixelbeat.org/programming/sigpipe_handling.html
[Prev in Thread] | Current Thread | [Next in Thread] |