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

Path csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail
From isabella parakiss <izaberina@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: -e does not take effects in subshell
Date Thu, 13 Aug 2015 07:35:29 +0200
Lines 12
Approved bug-bash@gnu.org
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>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace usenet.stanford.edu 1439444133 7040 208.118.235.17 (13 Aug 2015 05:35:33 GMT)
X-Complaints-To action@cs.stanford.edu
Cc "bug-bash@gnu.org" <bug-bash@gnu.org>
To Eric Blake <eblake@redhat.com>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RCLwpncryomxn6hUXPLTQcprcj2IVMGyhI999/x4zMw=; b=o4uM7JMduH31L6UJhzduNUUsyyknRR225P8rrsBYCA48l1VcJyUJpocFZF8EJkVItG 02gfdmkM23DgSq4HMzxRgkG6/Riqt1Xec1BZio+ixdPmTjAMBf6rA4bJ4Z61wyJpLAQo F7WXqEp+blyyjp4IwYYlWywrznbzhGEi7GNKDiA2PEvsBRAiw7RkKhTyP9OdIPILqcmz 3Lz/DLm3tCl+cbvTazTbDA/yJusZ2ZlUKF0oBblzTTjEAfZUR5+FYsCE0m0SBMHJBO/D +4DjakoU+5i8O91+LzQRuvBk/QHiJHwFj+o7f8MFnUny9mX8ItGYjKC8kur2YnNNJ99F sZ3A==
X-Received by 10.107.132.30 with SMTP id g30mr30788722iod.104.1439444129915; Wed, 12 Aug 2015 22:35:29 -0700 (PDT)
In-Reply-To <55CC26A7.10000@redhat.com>
X-detected-operating-system by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value).
X-Received-From 2607:f8b0:4001:c06::229
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:11338

Show key headers only | 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