From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15237 invoked by alias); 9 Feb 2010 17:21:28 -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: 27697 Received: (qmail 13560 invoked from network); 9 Feb 2010 17:21:27 -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: <201002091721.o19HLGni008860@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: Zsh hackers list Subject: Re: PATCH: glob qualifier to prepend a word In-reply-to: <237967ef1002090916u76a53223gc72136d87d4ef410@mail.gmail.com> References: <6084.1265725808@csr.com> <237967ef1002090916u76a53223gc72136d87d4ef410@mail.gmail.com> Comments: In-reply-to Mikael Magnusson message dated "Tue, 09 Feb 2010 18:16:39 +0100." Date: Tue, 09 Feb 2010 17:21:16 +0000 From: Peter Stephenson X-OriginalArrivalTime: 09 Feb 2010 17:21:17.0064 (UTC) FILETIME=[49C5A880:01CAA9AC] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-09-22-10 (www.mailcontrol.com) on 10.71.0.140 Mikael Magnusson wrote: > So my theory on why this can be done after sorting but e can't is that > e can remove matches, which is done before sorting. Is that correct? "e" can play around with matches how it likes, up to and including doing arbitrary private forms of globbing of its own, so sorting needs to come after, yes. I should have said so explicitly. -- 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