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 09:36:57 +0200

On Jan 29, 2008 9:32 AM, 龙海涛 <address@hidden> wrote:
>
> > $ bash -ce '(false;echo foo);echo bar'
> > bar
> could i ask what the command line option '-e' mean?
> i did not find any explanation in bash's manual.

It has the same effect as set -e, you can pass the options of set to
bash directly bash -x etc...

The manual says:
"In  addition to the single-character shell options documented in the
description of the set builtin command, bash interprets the following
options when it is invoked:"

(and don't worry for not finding it, I know it is easier to find what
you want when you already know what you are looking for.)

reply via email to

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