From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6383 invoked by alias); 6 Dec 2010 21:04:39 -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: 28493 Received: (qmail 7363 invoked from network); 6 Dec 2010 21:04:37 -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.216.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3U9WJpxj8rIyS2mkNP1yUGPePe/+SJMO+b/SBdt8O/w=; b=OAbtGApnL8pzkwnP2J231IQ4qfVRgS6OXCNJoymmeCHZuSdd/zlQpexHP0TBxr8MA1 ujQxAa3ToI+WEy8q20ilUU5Z1zJc3/M6+Q5pzmxyR9ywFoAjUiuepIZQFA1G2sqgyqTa 7sZdUxBuDT3k6Sybc+lvfloQkg+xMR4G1naIM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=M/TmM1VgrADO5apMJMxgcBNQncKEKrNv9v0J5uXt5EV6IYKBhyuiOm+FnfgpTdcn4P IaMCGzpde4t/HR9v9hd8Njs+RPTpiq8oRRJaOFtwPO9HoH8xyiRrz1qBi0fu+ekuws5T b9qkKNX4ZyNeiIywhJWNMPK8VS7xb+3LRHTtg= MIME-Version: 1.0 In-Reply-To: References: <20101205172515.29a07db3@pws-pc.ntlworld.com> Date: Mon, 6 Dec 2010 22:04:35 +0100 Message-ID: Subject: Re: extended braces syntax, {1..32..-03} From: Mikael Magnusson To: Richard Hartmann Cc: zsh workers Content-Type: text/plain; charset=UTF-8 On 6 December 2010 22:02, Richard Hartmann wrote: > 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. I actually realized it's not my fault, it always did that :). (but you still needed setopt braceccl to expand them before the patch). -- Mikael Magnusson