Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

#c flag wrong behaviour



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