[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set -ue vs. (),{}
From: |
Al Elgert |
Subject: |
Re: set -ue vs. (),{} |
Date: |
Thu, 7 Aug 2003 16:18:21 +0200 |
User-agent: |
Mutt/1.5.2i |
Paul Jarc schrieb am 06.08.2003 um 12:09:06 (-0400):
> Dan Jacobson <jidanni@jidanni.org> wrote:
> > probably no bug triggered here, but you might check results anyway
>
> Or might not. I know what behavior I see, but nobody can help you
> without knowing what behavior you see and what behavior you expected.
Maybe this might be a confusion between the behaviour of () and {}
() opens a subshell and therefore the unset
variable $a terminates the subshell - not the shell
{} Is a compound command.
It does not open a subshell and terminates the shell.
Alexander
--
Alexander Elgert
Public Gruppe
RechnerBetriebsGruppe TU Darmstadt (FB 20) Tel: +49 06151 16-4333
Raum: S1/13 11a (alt 25/11a)
FAQ2: http://www.informatik.tu-darmstadt.de/RBG/service/FAQ2/