bug-bash
[Top][All Lists]
Advanced

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

Re: -e does not work with subscript


From: Pierre Gaston
Subject: Re: -e does not work with subscript
Date: Tue, 29 Jan 2008 10:10:13 +0200

On Jan 29, 2008 10:04 AM, Stepan Koltsov <address@hidden> wrote:
>
> Bash must exit the shell too. Because
>
> $ bash -ce '(false); echo $?'
> 1
>
> S.
>

(false) is a compound command, the bash exits with set -e only if a
simple command exits with false




reply via email to

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