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 <[EMAIL PROTECTED]> wrote:
> On Jan 29, 2008 10:04 AM, Stepan Koltsov <[EMAIL PROTECTED]> 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