From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11024 invoked by alias); 25 Nov 2010 11:28:58 -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: 28449 Received: (qmail 7716 invoked from network); 25 Nov 2010 11:28:56 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Thu, 25 Nov 2010 10:35:58 +0000 From: Peter Stephenson To: zsh-workers@zsh.org (Zsh hackers list) Subject: Re: PATCH: bash-style substrings & subarrays Message-ID: <20101125103558.6852e350@pwslap01u.europe.root.pri> In-Reply-To: <20101123111423.60a04caf@pwslap01u.europe.root.pri> References: <101120223401.ZM6950@torch.brasslantern.com> <201011211702.oALH2ci6003141@pws-pc.ntlworld.com> <20101123111423.60a04caf@pwslap01u.europe.root.pri> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Nov 2010 10:35:59.0330 (UTC) FILETIME=[8CA7AC20:01CB8C8C] X-Scanned-By: MailControl A_10_80_00 (www.mailcontrol.com) on 10.71.0.124 On Tue, 23 Nov 2010 11:14:23 +0000 Peter Stephenson wrote: > On Sun, 21 Nov 2010 17:02:38 +0000 > Peter Stephenson wrote: > > Should ${foo:1} always start 1 character/element beyond the > > first one, regardless which subscripting rules are in use? I'm now > > inclining in that direction. > > Nobody commented but this is the change with some more careful > documentation. I've committed this, doesn't seem controversial. -- Peter Stephenson 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