zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <Peter.Stephenson@csr.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: extended braces syntax, {1..32..-03}
Date: Tue, 7 Dec 2010 11:40:59 +0000	[thread overview]
Message-ID: <20101207114059.53b3463a@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <AANLkTimGUf1WtgbWAUzFqyra63=zuR-++LVmYvk-Yfc8@mail.gmail.com>

On Sun, 5 Dec 2010 22:32:01 +0100
Mikael Magnusson <mikachu@gmail.com> wrote:
> I also just noticed that my code accepts a single - as the number 0,
> should I fix that? ie {-..2} expands to 0 1 2.

I'm not actually worried about this:  it's the sort of edge case where
as long as it does something predictable it doesn't matter much what.

-- 
Peter Stephenson <pws@csr.com>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom


  parent reply	other threads:[~2010-12-07 11:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05 15:41 Mikael Magnusson
2010-12-05 17:25 ` Peter Stephenson
2010-12-05 19:17   ` Mikael Magnusson
2010-12-05 19:25     ` Mikael Magnusson
2010-12-05 21:32       ` Mikael Magnusson
2010-12-06 21:02         ` Richard Hartmann
2010-12-06 21:04           ` Mikael Magnusson
2010-12-06 21:18             ` Richard Hartmann
2010-12-07 11:40         ` Peter Stephenson [this message]
2010-12-06 20:57 ` Richard Hartmann
2010-12-06 21:00   ` Mikael Magnusson
2010-12-06 21:17     ` Richard Hartmann
2010-12-06 21:49       ` Mikael Magnusson

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=20101207114059.53b3463a@pwslap01u.europe.root.pri \
    --to=peter.stephenson@csr.com \
    --cc=zsh-workers@zsh.org \
    /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).