From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2596 invoked from network); 22 May 2006 09:46:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 May 2006 09:46:05 -0000 Received: (qmail 42856 invoked from network); 22 May 2006 09:45:59 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 May 2006 09:45:59 -0000 Received: (qmail 9894 invoked by alias); 22 May 2006 09:45:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22451 Received: (qmail 9884 invoked from network); 22 May 2006 09:45:56 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 22 May 2006 09:45:56 -0000 Received: (qmail 42596 invoked from network); 22 May 2006 09:45:56 -0000 Received: from cluster-c.mailcontrol.com (168.143.177.190) by a.mx.sunsite.dk with SMTP; 22 May 2006 09:45:55 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly14c.srv.mailcontrol.com (MailControl) with ESMTP id k4M9hw8D025028 for ; Mon, 22 May 2006 10:45:43 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Mon, 22 May 2006 10:44:01 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.4/8.13.4) with ESMTP id k4M9iOFI004235 for ; Mon, 22 May 2006 10:44:24 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.13.4/8.13.4/Submit) with ESMTP id k4M9iO0h004232 for ; Mon, 22 May 2006 10:44:24 +0100 Message-Id: <200605220944.k4M9iO0h004232@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: Brace expansion from arrays? In-reply-to: References: <20060520214522.GA28889@scowler.net> Date: Mon, 22 May 2006 10:44:24 +0100 From: Peter Stephenson X-OriginalArrivalTime: 22 May 2006 09:44:01.0949 (UTC) FILETIME=[41C914D0:01C67D84] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-06-00-04 (www.mailcontrol.com) on 10.67.0.124 "Johann 'Myrkraverk' Oskarsson" wrote: > In that case, is it too much to ask to reference that in the chapter > about BRACE EXPANSION in the man page? Index: Doc/Zsh/expn.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/expn.yo,v retrieving revision 1.65 diff -u -r1.65 expn.yo --- Doc/Zsh/expn.yo 9 Apr 2006 21:47:22 -0000 1.65 +++ Doc/Zsh/expn.yo 22 May 2006 09:43:11 -0000 @@ -1140,6 +1140,13 @@ em(either) of the two expressions does not match; this is to be contrasted with tt(*/(foo|bar)), which is treated as a single pattern but otherwise has similar effects. + +To combine brace expansion with array expansion, see the +tt(${^)var(spec)tt(}) form described +ifzman(in the section Parameter Expansion)\ +ifnzman(in noderef(Parameter Expansion)) +above. + texinode(Filename Expansion)(Filename Generation)(Brace Expansion)(Expansion) sect(Filename Expansion) cindex(filename expansion) -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php