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

Re: #c flag wrong behaviour



On Mar 29,  5:18pm, Anthony Charles wrote:
}
} 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?

Those results do appear incorrect to me.  Unfortunately I can't tell if
the problem is in the compilation of the pattern, or the execution.  I
suspect the compilation because it doesn't parallel ## in the way I'd
expect, but I'm not very familiar with that part of the code.



Messages sorted by: Reverse Date, Date, Thread, Author