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


Groups > gnu.bash.bug > #11338

Re: -e does not take effects in subshell

From isabella parakiss <izaberina@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: -e does not take effects in subshell
Date 2015-08-13 07:35 +0200
Message-ID <mailman.8235.1439444133.904.bug-bash@gnu.org> (permalink)
References <BLU176-W28809FB59FF9274B34D871D67F0@phx.gbl> <20150811135056.GD4309@eeg.ccf.org> <BLU176-W27103575D91F4EF315336FD67D0@phx.gbl> <55CC26A7.10000@redhat.com>

Show all headers | View raw


On 8/13/15, Eric Blake <eblake@redhat.com> wrote:
> Like it or not, it is the historical behavior standardized by POSIX. It
> is NOT intuitive, and our advice is "DON'T USE set -e - IT WON'T DO WHAT
> YOU WANT".  We can't change the behavior, because it would break scripts
> that rely on the POSIX-specified behavior.
>
POSIX didn't say anything about shopt set-e-that-actually-makes-sense.


---
xoxo iza

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


Thread

Re: -e does not take effects in subshell isabella parakiss <izaberina@gmail.com> - 2015-08-13 07:35 +0200

csiph-web