Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail From: Christoph Gysin Newsgroups: gnu.bash.bug Subject: Re: command substitution is stripping set -e from options Date: Tue, 13 Oct 2015 09:04:04 +0300 Lines: 12 Approved: bug-bash@gnu.org Message-ID: References: <560D83DA.9020405@redhat.com> <20151002122925.GK25574@eeg.ccf.org> <20151002132221.GL25574@eeg.ccf.org> <56103208.30406@case.edu> <56168B10.1000905@case.edu> <561949D4.10107@case.edu> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: usenet.stanford.edu 1444716301 9099 208.118.235.17 (13 Oct 2015 06:05:01 GMT) X-Complaints-To: action@cs.stanford.edu Cc: Greg Wooledge , bug-bash@gnu.org To: Chester Ramey 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:from:date:message-id:subject:to :cc:content-type; bh=Ix2fmQp7KeqvRLbGVyzczwbeq3ucTgnBLqzrFoVcJJE=; b=WyFf1MYcMSRY7WTqLqs9btNl7tg09xO/gckYFcnUstGbGJPQ4htz0XsXz+7f1D+5rb VZkXkP7fQxNKVm6dcbUH+O7KoDciqtFjwhCKgteharwmgGfQW0ZupmS0oUQsW2o2+Qkf haEVxcgjLq4ojm3gi1jORU3Mu2yKcmoIla99gWbt1pRZ2DVsiqdy16KbtD9cJ6B4qBUz qxlDy60UcLgfoKX0wBkjYk1YIerq9Oj6pGP5JUNSF150iIcu2xUEhGDx7KRbxsyfuUOL /GN1MaNNcQHw2ydR+AVTmfmEWma2elB31CTkZY6eIsxmskJ+SEEAUcdu3yx4aJTHKHsB qR+A== X-Received: by 10.112.162.34 with SMTP id xx2mr14102966lbb.109.1444716283762; Mon, 12 Oct 2015 23:04:43 -0700 (PDT) In-Reply-To: <561949D4.10107@case.edu> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::231 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:11643 On Sat, Oct 10, 2015 at 8:24 PM, Chet Ramey wrote: > I will consider adding an option to change the behavior of command > substitution inheriting the -e option, since there doesn't seem to be > any way to decouple this behavior from posix mode. I added a patch: https://savannah.gnu.org/patch/index.php?8769 Chris -- echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3