help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] subtle "break" strangeness


From: Chris Down
Subject: Re: [Help-bash] subtle "break" strangeness
Date: Tue, 3 Sep 2013 16:53:01 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On 2013-09-03 10:16, Chet Ramey wrote:
> How can it?  The subshell started to run `break' understands that it is
> running in a loop -- it inherits that understanding from its parent --
> but there is no way to communicate the `breaking' status from a child
> back to its parent.

Like I said in the other thread, I think that we should reset context-specific
flags in children (except for when the child is the entirety of the function
definition, in the case of function definitions).

Attachment: pgpR3bHQzH_5y.pgp
Description: PGP signature


reply via email to

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