bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash errexit shell option does not work in some cases.


From: Chet Ramey
Subject: Re: bash errexit shell option does not work in some cases.
Date: Mon, 8 Jun 2020 11:04:21 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

On 6/8/20 10:44 AM, Eli Schwartz wrote:

> Well, Greg does have a pretty good point (which is a point I for one
> prioritize in my decision process for "do I personally recommend the use
> of set -e") in that another part of the issue is its doing different
> things across point releases of a shell.

It last changed in 2009. Except for MacOS X, which is frozen in amber,
people should be using a version with the current semantics by now. If you
don't want things to change across releases, you have choices about which
version to use.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]