Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16371

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

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: bash errexit shell option does not work in some cases.
Date 2020-06-08 11:04 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.1446.1591628682.2541.bug-bash@gnu.org> (permalink)
References (2 earlier) <1704.1591007300@jinx.noi.kre.to> <20200608112433.GW4133@eeg.ccf.org> <b080b864-da90-06ea-b257-42928e2d544b@case.edu> <25a558c6-d1bf-24be-21a9-aebe8fbea894@archlinux.org> <80e3d9b9-9b85-a2a2-9922-a45c06d6e9ac@case.edu>

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: bash errexit shell option does not work in some cases. Chet Ramey <chet.ramey@case.edu> - 2020-06-08 11:04 -0400

csiph-web