Michael Stone <mst...@debian.org> writes:

> On Thu, Dec 17, 2009 at 12:47:44PM +0200, jari.aa...@cante.net wrote:
>
>>According to ASCII table http://asciitable.com/ the items are not
>>presented in correct order.
> ...
>>Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
>
> You aren't sorting in ascii order, you're sorting in en_DK.UTF-8
> order. If you want to change that, set LC_COLLATE=C

This isn't documented in the ls(1) manual. According to your tip, I
noticed that the sort(1) page page reads:

       *** WARNING *** The locale specified by the environment affects
       sort order. Set LC_ALL=C to get the traditional sort order that
       uses native byte values.

It would be good if ls(1) carried similar paragraph.

Jari



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to