delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/05/10/18:01:36

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Thu, 10 May 2001 17:57:21 -0400
MIME-Version: 1.0
Subject: Re: Bash 2.04 beta 1 now available
Message-ID: <3AFAD681.32553.3BBAF9@localhost>
In-reply-to: <CAEGKOHJKAAFPKOCLHDIAEDCCDAA.tim.van.holder@pandora.be>
References: <3AF9D8D3 DOT 6219 DOT 35A724 AT localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> $ (echo a; (echo b; set -e && false); echo c)
> a
> b

Ok, I fixed the case of 'set -e' in a subshell. But what should happen from a 
prompt?

$ set -e && false
???
Should it exit back to dos or do nothing?

Mark

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019