[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Why is "LANG=en_US.UTF-8" the default in Fedora



Once upon a time, Alan Cox <alan 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 hiwaay net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]