Re: Bug in version 4.1 of ls

Jim Meyering <[email protected]> Tue, 01 Apr 2003 08:32:19 +0200
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
> Per ASCII character sequencing, in which a hyphen (0x2D) precedes a period
> (0x2E), one would expect ls to present the files dhclient-script and
> dhclient.conf in that order.  And that is what version 4.0.37 of ls does.
> However, version 4.1 reverses them, showing dhclient.conf before
> dhclient-script.

Thank you for the report, but that's not a bug.
Here's the entry from the Coreutils FAQ
  http://www.gnu.org/software/fileutils/doc/faq/core-utils-faq.html
that addresses your problem:

  The ls command is not listing files in a normal order!:
  http://tinyurl.com/8kda

  (or, if you prefer the long URL,
   http://www.gnu.org/software/fileutils/doc/faq/core-utils-faq.html#The%20ls%20command%20is%20not%20listing%20files%20in%20a%20normal%20order! )