Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
#c flag wrong behaviour
- X-seq: zsh-workers 24778
- From: Anthony Charles <antho.charles@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: #c flag wrong behaviour
- Date: Sat, 29 Mar 2008 17:18:24 +0100
- 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=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author