From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18150 invoked by alias); 6 Dec 2010 21:02:34 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28492 Received: (qmail 6311 invoked from network); 6 Dec 2010 21:02:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.213.43 as permitted sender) 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= MIME-Version: 1.0 In-Reply-To: References: <20101205172515.29a07db3@pws-pc.ntlworld.com> From: Richard Hartmann Date: Mon, 6 Dec 2010 22:02:09 +0100 Message-ID: Subject: Re: extended braces syntax, {1..32..-03} To: Mikael Magnusson Cc: zsh workers Content-Type: text/plain; charset=UTF-8 On Sun, Dec 5, 2010 at 22:32, Mikael Magnusson 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