Re: ls sorting order change
On Tue, 01 May 2012 15:10:23 -0400, Dan B. wrote:
On a fresh Squeeze installation, ls seems to ignore leading "."
characters (it no longer lists all "hidden" files adjacent to each
other) and to ignore capitalization differences.
Can you post a sample of the command you issued and the ouput you got?
It was like (using made-up names):
when I expected:
(The first order is a typical order for English (case-insensitive, and
ignoring punctuation), so now it makes sense that my default locale
setting (LANG=en_US.UTF-8) yielded that order.
The second order is plain old ASCII(/ISO-8859-x/Unicode) character
order with no special treatment (ignoring or case-mapping) of
characters--and setting LC_ALL=C (or LC_COLLATE=C) does indeed yield that
I guess now I need to figure out where I might like to see things in
the "new" order vs. where I still want to see things in LC_COLLATE=C