[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pipefail with SIGPIPE/EPIPE
From: |
Chet Ramey |
Subject: |
Re: pipefail with SIGPIPE/EPIPE |
Date: |
Sat, 25 Mar 2017 14:29:02 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 3/23/17 3:27 PM, Jay Freeman (saurik) wrote:
> (Potentially of mild interest is this thread on Hacker News from earlier
> today, where multiple people are suggesting the usage of "set -e" along with
> "set -u" and "set -o pipefile".)
>
> https://news.ycombinator.com/item?id=13940322
It's useful as long as you understand what it does, and when it does not
have any effect. I'd say that that set of people is smaller than it should be.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/