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/