On Thu, Apr 19, 2018 at 09:35:25AM +1200, Ben Caradoc-Davies wrote:
> In the C locale, all uppercase letters are sorted before all lowercase
> letters:
> 
> $ echo -e "buster\nStretch" | LC_COLLATE=C sort
> Stretch
> buster
> 
> In en_GB, by comparison:
> 
> $ echo -e "buster\nStretch" | LC_COLLATE=en_GB.utf8 sort
> buster
> Stretch

wow, madness. thanks.

(maybe just mild madness... :)

> -- 
> Ben Caradoc-Davies <b...@transient.nz>
> Director
> Transient Software Limited <https://transient.nz/>
> New Zealand

I now wondered if it's not only en_GB.utf8 which is "different", but also
the NZ and US variants sort like that (and so differently than C)... not 
sure if en_FR.utf8 exist, but using it, it sorts differently / like C ;)

(probably because it doesnt exist, thus the default, C, is used.)


-- 
cheers,
        Holger

Attachment: signature.asc
Description: PGP signature

Reply via email to