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

'LC_COLLATE=de ls [A-Z]*' expands to 'every file' including lowercase




Hi!

Is it 'really correct', that after setting 'LANG=de' or 'LC_COLLATE=de'
ranges of characters will no more be differentiate between uppercase
and lowecase ? So 'rm [A-Z]' will remove not only 'FOO' but 'bar' too!

Explicitely writing all the letters works! 
'rm [ABCDEFGHIJKLMNOPQRSTUVWXYZ]*' removes 'FOO' leaves 'bar' alone.

Is this a bug ?  Or a feature I've not been warned of by the manuals.

Stucki

PS.: I'm using zsh-3.0.5 on Solaris 2.4 compiled by gcc-2.7.2
     (soon to be zsh 3.1.4 on Solaris 2.6) 

Christoph von Stuckrad       * *  | talk to  | <stucki@xxxxxxxxxxxxxxxxx> \
Freie Universitaet Berlin    |/_* | nickname | ...!unido!fub!leibniz!stucki|
Fachbereich Mathematik, EDV  |\ * | 'stucki' | Tel:+49 30 838-75459        |
Arnimallee 2-6/14195 Berlin  * *  |  on IRC  | Fax:+49 30 838-75454       /



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