From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21864 invoked from network); 29 Mar 2008 16:17:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Mar 2008 16:17:01 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 11964 invoked from network); 29 Mar 2008 16:16:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Mar 2008 16:16:53 -0000 Received: (qmail 2818 invoked by alias); 29 Mar 2008 16:16:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24778 Received: (qmail 2801 invoked from network); 29 Mar 2008 16:16:47 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 29 Mar 2008 16:16:47 -0000 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by bifrost.dotsrc.org (Postfix) with ESMTP id 040AB82CD273 for ; Sat, 29 Mar 2008 17:16:41 +0100 (CET) Received: by nf-out-0910.google.com with SMTP id d21so316548nfb.11 for ; Sat, 29 Mar 2008 09:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:mime-version:content-type:content-disposition:user-agent; bh=JJ4A6xIE7TPNAZVYobOEXocBuQHJhrJPanEbrhTrTYo=; b=izWL5TLdlmGNUjz6dq0BPUf8OMFnSR+2cpzcL8WcUjX/qeJxlzzY7YYtIOjcAzjpv64q6rBS/yprbM2Q1piGYs90IASbN9Dl5VCNsJuuF3TeWPFxN1WbVRrFKt2m6zwvj+KPyhfPwQ0gx3W0GGCOP6RC2LUKKguzUGWk5AcBI9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=date:from:to:subject:message-id:mime-version:content-type:content-disposition:user-agent; b=csAFsoXj4XZ+SnfOq+Ym2ZImk8JFAUty5v3SjzAYwD7h67Sr2i1ugPFpQblUtEikBImG/TYOEBwJJJt6voS+fpZY84MqQ+jA/UPmI4dsL10hbqndBaBqkyIChwuccJRos9KVNgi6Q1m1zigy7j/6OWWGaFc30FsrzUhuk+aCBqQ= Received: by 10.78.200.20 with SMTP id x20mr13882980huf.55.1206807400932; Sat, 29 Mar 2008 09:16:40 -0700 (PDT) Received: from localhost ( [90.17.53.201]) by mx.google.com with ESMTPS id e10sm5320542muf.10.2008.03.29.09.16.37 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 29 Mar 2008 09:16:38 -0700 (PDT) Date: Sat, 29 Mar 2008 17:18:24 +0100 From: Anthony Charles To: zsh-workers Subject: #c flag wrong behaviour Message-ID: <20080329161300.GA19193@okita> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: ClamAV 0.91.2/6464/Sat Mar 29 15:49:50 2008 on bifrost X-Virus-Status: Clean Hi, I think there is a problem with the new #c flag: zsh -f Saito% setopt extendedglob Saito% touch test.{zsh,ksh,bash} Saito% print *.?(#c1)sh test.ksh test.zsh Saito% print *.?(#c2)sh test.bash Saito% print *.?(#c1,2)sh test.bash Saito% print *.?(#c1,)sh zsh: no matches found: *.?(#c1,)sh Saito% print *.?(#c1,) test.bash test.ksh test.zsh Saito% It seems that #c flag is too greedy. Am I wrong? -- Anthony CHARLES