All of lore.kernel.org
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Eric Blake <eblake@redhat.com>
Cc: "Taylan Ulrich B." <taylanbayirli@gmail.com>,
	dash <dash@vger.kernel.org>
Subject: Re: 'continue' does not work in files sourced with dotcmd
Date: Thu, 7 Jul 2011 22:46:35 +0800	[thread overview]
Message-ID: <20110707144635.GA21272@gondor.apana.org.au> (raw)
In-Reply-To: <4E15B41A.9020601@redhat.com>

On Thu, Jul 07, 2011 at 07:26:50AM -0600, Eric Blake wrote:
> 
> zsh rejected the continue statement (no containing loop within the
> current scoping of the dot script), and as a result also aborted the
> overall dot script - but in doing so, it properly emitted an error message.

dash does not warn in this case because it never prints a warning
on continue anywhere.

This behaviour (not warning) is consistent with that of ksh.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

  reply	other threads:[~2011-07-07 14:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-26 18:23 'continue' does not work in files sourced with dotcmd Taylan Ulrich B.
2011-07-07  3:37 ` Herbert Xu
2011-07-07 13:26   ` Eric Blake
2011-07-07 14:46     ` Herbert Xu [this message]
2011-07-07 15:18       ` Eric Blake
2011-07-08  8:09         ` Herbert Xu
2011-07-09 13:07           ` Jilles Tjoelker
2011-07-09 14:07             ` Herbert Xu
2011-07-10 19:03               ` Jilles Tjoelker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110707144635.GA21272@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=dash@vger.kernel.org \
    --cc=eblake@redhat.com \
    --cc=taylanbayirli@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.