Path: csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail From: isabella parakiss 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: References: <20150811135056.GD4309@eeg.ccf.org> <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" To: Eric Blake 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11338 On 8/13/15, Eric Blake 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