From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18705 invoked from network); 23 Apr 2004 16:15:34 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 23 Apr 2004 16:15:34 -0000 Received: (qmail 20254 invoked by alias); 23 Apr 2004 16:14:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7398 Received: (qmail 20234 invoked from network); 23 Apr 2004 16:14:47 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 23 Apr 2004 16:14:47 -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 16:14:47 -0000 Received: (qmail 10834 invoked from network); 23 Apr 2004 16:14:47 -0000 Received: from main.gmane.org (80.91.224.249) by a.mx.sunsite.dk with SMTP; 23 Apr 2004 16:14:46 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BH3K9-0007Lb-00 for ; Fri, 23 Apr 2004 18:14:45 +0200 Received: from cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com ([80.3.247.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Apr 2004 18:14:45 +0200 Received: from david by cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Apr 2004 18:14:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: zzapper Subject: Re: Brace Expansion Date: Fri, 23 Apr 2004 17:14:30 +0100 Message-ID: <55gi8098cn0cncghrfku66r96ojpb88tsc@4ax.com> References: <9f5i80hlg5kolhbm1behb316pe0jda0qvh@4ax.com> <20077.1082729490@csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Sender: news Cc: zsh-workers@sunsite.dk X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.5 required=6.0 tests=RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 1.5 On Fri, 23 Apr 2004 15:11:30 +0100, wrote: >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. Did try the manual, but as I was barking up the wrong tree, so it didn't help!! > >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. zzapper (vim, cygwin, wiki & zsh) -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips