From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14168 invoked from network); 23 Apr 2004 14:12:19 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 23 Apr 2004 14:12:19 -0000 Received: (qmail 9239 invoked by alias); 23 Apr 2004 14:11:59 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7396 Received: (qmail 9197 invoked from network); 23 Apr 2004 14:11:59 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 23 Apr 2004 14:11:59 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 23 Apr 2004 14:11:58 -0000 Received: (qmail 15134 invoked from network); 23 Apr 2004 14:11:58 -0000 Received: from lhuumrelay3.lnd.ops.eu.uu.net (62.189.58.19) by a.mx.sunsite.dk with SMTP; 23 Apr 2004 14:11:57 -0000 Received: from MAILSWEEPER01.csr.com (mailhost1.csr.com [62.189.183.235]) by lhuumrelay3.lnd.ops.eu.uu.net (8.11.0/8.11.0) with ESMTP id i3NEBUv29773 for ; Fri, 23 Apr 2004 14:11:30 GMT Received: from EXCHANGE02.csr.com (unverified [192.168.137.45]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Fri, 23 Apr 2004 15:11:02 +0100 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 23 Apr 2004 15:12:18 +0100 To: zsh-users@sunsite.dk Subject: Re: Brace Expansion In-reply-to: "zzapper"'s message of "Fri, 23 Apr 2004 14:15:04 BST." <9f5i80hlg5kolhbm1behb316pe0jda0qvh@4ax.com> Date: Fri, 23 Apr 2004 15:11:30 +0100 Message-ID: <20077.1082729490@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 23 Apr 2004 14:12:18.0218 (UTC) FILETIME=[FC6090A0:01C4293C] X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=BAYES_50 autolearn=no version=2.63 X-Spam-Hits: 0.0 zzapper wrote: > This must be an old zsh chestnut EXCEPT I couldn't Google a solution By the way, you might want to try the manual as well as Google. BRACE EXPANSION ... Note that brace expansion is not part of filename generation (globbing); an expression such as */{foo,bar} is split into two separate words */foo and */bar before filename genera- tion takes place. In particular, note that this is liable to produce a `no match' error if either of the two expres- sions does not match; this is to be contrasted with */(foo|bar), which is treated as a single pattern but other- wise has similar effects. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************