ls sorting order change



What controls the order that the ls command uses for sorting names?


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.

It used to sort in standard/traditional Unix order (not ignoring any
characters, and ordering by order of characters in ASCII/etc. (as
opposed to by case-insensitive alphabetical order)).


What controls ls's sorting order?

I haven't set any locale environment variable specifically for the
collation order, but I don't know what base LANG=en_US.UTF-8 setting
does. Does "en_US" imply that new sorting order?


How do I tell ls to work the way I've seen it work for decades?


Thanks,
Daniel







--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/4FA0351F.8010100@xxxxxxxxx



Relevant Pages

  • Re: [OT] Mails coming from "joe1assistly@gmail.com"
    ... I received one yesterday from "Dan B" with the subject: ls sorting order change ... > What controls the order that the ls command uses for sorting names? ... > characters, and ordering by order of characters in ASCII/etc. ... with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: SetThemeAppProperties and SetWindow Theme do not effect Unicode data handling
    ... I am quite sure that is not true that controls in Windows 2000 and on always ... the Windows multibyte codepages. ... national language characters in the upper half of the 256 character ... stopped working for our Japanese customers. ...
    (microsoft.public.win32.programmer.ui)
  • Re: SetThemeAppProperties and SetWindow Theme do not effect Unicode data handling
    ... I am quite sure that is not true that controls in Windows 2000 and on always ... the Windows multibyte codepages. ... national language characters in the upper half of the 256 character ...
    (microsoft.public.win32.programmer.ui)
  • Re: Allow textbox to go past 32K characters?
    ... Windows NT 4.0, Windows 2000, Windows Server 2003 family Platform Note: For single line text box controls, if the MaxLength ... property is set to 0, the maximum number of characters the user can enter is 2147483646 or an amount based on available memory, ... amount based on available memory, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Listbox and accented characters
    ... > handle both Latin-1 characters (e.g. Italian) and Greek characters Marios. ... > UI Controls tend to operate using a specific ANSI character set. ...
    (comp.lang.basic.visual.misc)