From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19938 invoked by alias); 8 Feb 2010 18:02:02 -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: 27692 Received: (qmail 14669 invoked from network); 8 Feb 2010 18:02:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.2.5 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Message-Id: <201002081801.o18I1og9021851@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@zsh.org Subject: Re: extra arguments inserted by glob thinger e:: get sorted afterwards In-reply-to: <100208094242.ZM10754@torch.brasslantern.com> References: <237967ef1002050715o3be2d441rcc8dbeb3e2b00483@mail.gmail.com> <87ljf3yk0f.fsf@ft.bewatermyfriend.org> <237967ef1002080916w5fea886bi888a087ea62fc9cb@mail.gmail.com> <100208094242.ZM10754@torch.brasslantern.com> Comments: In-reply-to Bart Schaefer message dated "Mon, 08 Feb 2010 09:42:41 -0800." Date: Mon, 08 Feb 2010 18:01:49 +0000 From: Peter Stephenson X-OriginalArrivalTime: 08 Feb 2010 18:01:54.0579 (UTC) FILETIME=[CC3B2E30:01CAA8E8] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-09-22-10 (www.mailcontrol.com) on 10.71.0.141 Bart Schaefer wrote: > The most obvious is ${=:-one two three} which applies word splitting > to the string to the right of the hyphen. Interestingly this even > works with quoting, where I had assumed it would break within words: This was part of the set of changes Wayne made to parameter substitution for quoting which I see is already four years old, Src/subst.c revisions 1.45 to 1.49. -- 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