bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -e does not take effects in subshell


From: Linda Walsh
Subject: Re: -e does not take effects in subshell
Date: Wed, 19 Aug 2015 14:58:02 -0700
User-agent: Thunderbird



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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]