bug-bash
[Top][All Lists]
Advanced

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

Re: Bug in function return statement in while subshell


From: Chris Down
Subject: Re: Bug in function return statement in while subshell
Date: Tue, 30 Jul 2013 11:30:28 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On 2013-07-29 17:05, Chris Down wrote:
> On 29 Jul 2013 17:00, "Roman Rakus" <rrakus@redhat.com> wrote:
> >
> > I didn't take a look on where the problem could be, but it is discussed
> on stackoverflow [1].
> >
> > Looks like return builtin falsely exit execution of while loop instead of
> function.
>
> Unless I'm reading this wrongly, this seems like expected behaviour in a
> subshell to me (although I think it should probably raise a syntax error
> since return is out of context).

Apologies for how broken the quoting in this reply was, looks like I won't be
using K9 Mail any more...

Attachment: pgpcP7J_kMGot.pgp
Description: PGP signature


reply via email to

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