[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -e does not work with subscript
From: |
Stepan Koltsov |
Subject: |
Re: -e does not work with subscript |
Date: |
Tue, 29 Jan 2008 21:09:18 +0300 |
What is "simple command"?
Is
===
( false ) || false
===
simple? Seems like it is not, however
===
set -e
( false ) || false
echo "end"
===
Prints nothing and exits with error.
S.
On 1/29/08, Pierre Gaston <pierre.gaston@gmail.com> wrote:
> On Jan 29, 2008 10:04 AM, Stepan Koltsov <yozh@mx1.ru> 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
>
- -e does not work with subscript, yozh, 2008/01/28
- Re: -e does not work with subscript, Pierre Gaston, 2008/01/29
- Re: -e does not work with subscript, Stepan Koltsov, 2008/01/29
- Re: -e does not work with subscript, Pierre Gaston, 2008/01/29
- Re: -e does not work with subscript,
Stepan Koltsov <=
- Re: -e does not work with subscript, Pierre Gaston, 2008/01/29
- Re: -e does not work with subscript, Stepan Koltsov, 2008/01/29
- Re: -e does not work with subscript, Bob Proulx, 2008/01/29
- Re: -e does not work with subscript, Stepan Koltsov, 2008/01/29
- Re: -e does not work with subscript, Linda Walsh, 2008/01/29
Re: -e does not work with subscript, 龙海涛, 2008/01/29