Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: extended braces syntax, {1..32..-03}
- X-seq: zsh-workers 28492
- From: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: extended braces syntax, {1..32..-03}
- Date: Mon, 6 Dec 2010 22:02:09 +0100
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=va2wUbZH6rYJOM30/MZCW69/kS7x3+vvoKHeRpglp10=; b=lmul2IB2EC43tca7xhptOTA/YURxNJ/u2/ArxO/CVME9l0PZo47kM3ouGju4WElvW5 djgtkJg1dwJCNwpX0DS81qBoXUZm1mF65TltyPANGLb96lvyJYAFPnB/gKN5/DtZMZFi wbFXJ2xUyvuOdBEacAYBuxG23sLkqtcu8Vam4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=G54Ur+Fh4eK+iv3vcx8t8fPOfW/x69yM9ad0GPrpLjzb+8Jpya/+17Tgx+FZ6KILc4 RzmARJjSutfxlDp4sIK79262EOAFhyIEkrfvPlR/eAXd547W0sGX6wm7/WQ8jQlapoZn w/NBYmjZi2ahmNPy0+gU82BG62VEsVsvRQ7cI=
- In-reply-to: <AANLkTimGUf1WtgbWAUzFqyra63=zuR-++LVmYvk-Yfc8@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <AANLkTimOhbjnSiCWJ9y8jJ_WCscTF27ROR=Fg2twOMod@xxxxxxxxxxxxxx> <20101205172515.29a07db3@xxxxxxxxxxxxxxxxxxx> <AANLkTimm_EMUGdxew_DCQeY=WQ7a78JCX0X670dqeHVA@xxxxxxxxxxxxxx> <AANLkTineOjuWrLv39gS6k7TWU1QTVqYURG0PfJJJXOob@xxxxxxxxxxxxxx> <AANLkTimGUf1WtgbWAUzFqyra63=zuR-++LVmYvk-Yfc8@xxxxxxxxxxxxxx>
On Sun, Dec 5, 2010 at 22:32, Mikael Magnusson <mikachu@xxxxxxxxx> 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.
Personally, I think yes. It's not a useful feature, mathematically
wrong and hogs a special char that might be used for some future
feature.
Richard
Messages sorted by:
Reverse Date,
Date,
Thread,
Author