From: Philippe Troin <phil@fifi.org>
To: zsh-workers@sunsite.dk
Subject: Re: For loop bug
Date: 16 Sep 2002 17:08:40 -0700 [thread overview]
Message-ID: <87wuplo4tz.fsf@ceramic.fifi.org> (raw)
In-Reply-To: <20020916204657.GA29752@malachi.theoscape.net>
Hans Dieter Pearcey <hdp@pobox.com> writes:
> On Mon, Sep 16, 2002 at 11:26:45AM -0700, Philippe Troin wrote:
> > "Bart Schaefer" <schaefer@brasslantern.com> writes:
> > > $i never has a chance to get set to 2.
> >
> > Got that part. Thanks for the clarifications.
> >
> > > } > Further, { } is not a subshell, so { [[ 2 == 2 ]] && exit 1; } would most
> >
> > Indeed. However my version of zsh does not exit: it goes on happily as
> > if nothing happened.
>
> Because, as above, $i never gets to 2, and so the [[ 2 == 2 ]] && exit 1
> is not reached.
You're absolutely right. No bugs here :-)
Phil.
next prev parent reply other threads:[~2002-09-17 0:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-13 18:25 Philippe Troin
2002-09-13 23:31 ` Peter Stephenson
2002-09-14 0:34 ` Bart Schaefer
2002-09-14 0:58 ` Philippe Troin
2002-09-14 4:56 ` Bart Schaefer
2002-09-16 4:58 ` Philippe Troin
2002-09-16 6:25 ` Bart Schaefer
2002-09-16 18:26 ` Philippe Troin
2002-09-16 20:46 ` Hans Dieter Pearcey
2002-09-17 0:08 ` Philippe Troin [this message]
2002-09-14 14:39 ` Peter Stephenson
2002-09-17 10:47 ` Peter Stephenson
2002-09-29 13:20 ` Sven Wischnowsky
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=87wuplo4tz.fsf@ceramic.fifi.org \
--to=phil@fifi.org \
--cc=zsh-workers@sunsite.dk \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).