Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is this a bug, doc error, or misunderstanding?
On 2011-12-29 22:50:38 +0000, Larry Schrof wrote:
> This is because when comparing 'ZHOST40' and 'host04', 'Z' comes before 'h'
> lexiographically.
Not in all the locales.
xvii% VAR=(ZHOST40 HOST+ host04 host4 host36)
xvii% LC_ALL=C
xvii% echo ${(n)VAR}
HOST+ ZHOST40 host04 host4 host36
xvii% LC_ALL=fr_FR
xvii% echo ${(n)VAR}
HOST+ host04 host4 host36 ZHOST40
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author