Re: Bad sort order under glibc 2.2

On 11 Jul 01 at 14:35, martin internet-treff uni-ko wrote:

"Dmitry Yu. Bolkhovityanov" <D Yu Bolkhovityanov inp nsk su> wrote:


while under glibc 2.1 it gave


libc6 2.2.3 on Debian sorts the lines like your 2.1

This is with LANG=C.

Maybe you have some locale settings active that influence the result?

    Yes, the locale isn't "C" -- it is "en_US" by default, and should be
ru_RU.KOI8-R (since I live in Russia).

    And, setting locale to "C" makes sort order normal (with dot-files
first), and the same applies to nonexistent locales like gp_PC (green people
from Proxima Centaura).

    But anything like de_DE, en_GB, uk_UA etc. has an effect of mixing sort

    BTW, there's one more problem -- filenames of various cases are mixed, so
that "README", "INSTALL", "Makefile" etc. go *after* e.g.  But
the same problem affects "ls", so this one should definitely be reported to
glibc team (strange, but I found nothing about this in their bug-tracking

       Dmitry Yu. Bolkhovityanov  |  Novosibirsk, RUSSIA
       phone (383-2)-39-49-56     |  The Budker Institute of Nuclear Physics
                                  |  Lab. 5-13

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]