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: isabella parakiss
Subject: Re: -e does not take effects in subshell
Date: Thu, 13 Aug 2015 07:35:29 +0200

On 8/13/15, Eric Blake <address@hidden> 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



reply via email to

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