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


Groups > gnu.bash.bug > #11401

Re: -e does not take effects in subshell

From Linda Walsh <bash@tlinx.org>
Newsgroups gnu.bash.bug
Subject Re: -e does not take effects in subshell
Date 2015-08-19 14:58 -0700
Message-ID <mailman.7.1440103885.31004.bug-bash@gnu.org> (permalink)
References (3 earlier) <55CC26A7.10000@redhat.com> <55D39A71.2030109@tlinx.org> <87mvxo5mme.fsf@igel.home> <55D3B22E.9040507@tlinx.org> <20150819124214.GL4309@eeg.ccf.org>

Show all headers | View raw



Greg Wooledge wrote:
> 
> (Wow, how did we get here from "-e does not take effects in subshell"?)
> 
---
because the POSIX spec changed and bash's handling of "-e"
changed to follow the new spec.

The earlier spec had -e only exit a script if a *simple* (external)
command failed.  It didn't include builtins nor functions.


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


Thread

Re: -e does not take effects in subshell Linda Walsh <bash@tlinx.org> - 2015-08-19 14:58 -0700

csiph-web