Chris Green chris@areti.co.uk writes:
When I issue an 'ls -a' or an 'ls -al' I expect all the hidden files (those with a . prefix) to appear before the others but my latest upgrade seems to have stopped this happening. I much prefer to see the hidden files separately, can I get the old sort order back somehow?
I've unset all the LS options in my environment and ls isn't aliased.
Sounds like you have LC_COLLATE (or LC_ALL or LANG) set wrong.
$ ls -a | head -5 ./ ../ .svn/ CHECKLST.txt LATEST.VER $ LC_COLLATE=en_GB ls -a | head -5 ./ ../ be_all.c be_none.c be_nossh.c