Why is "LANG=en_US.UTF-8" the default in Fedora
Chris Adams
cmadams at hiwaay.net
Fri May 21 18:42:19 UTC 2004
Once upon a time, Alan Cox <alan at redhat.com> said:
> You just need to learn that a) sorting is defined by hundreds of years
> old specifications in the USA, b) A-Za-z is not US sort order and c)
> how to use the tools right
The thing about the en_US locales and sorting that annoys me is that "ls
-A" treats the leading "." funny. Dotfiles are interspersed with
non-dotfiles, with ".ccc" sorting after "cbb" but before "Ccc". I guess
".c" is treated as a single character, with the sort order being ".c",
"C", and "c"?
That's just confusing. That may follow some definition, but it breaks
long-time Unix "ls -A" sorting where dotfiles come first. On my
personal systems, I sometimes just put "LC_COLLATE=C" in
/etc/sysconfig/i18n. I know that is "wrong", but I like what I'm used
to.
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
More information about the test
mailing list