bug-coreutils
[Top][All Lists]
Advanced

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

[bug #27373] sort -h performs incorrectly if in utf8 locale.


From: Pádraig Brady
Subject: [bug #27373] sort -h performs incorrectly if in utf8 locale.
Date: Wed, 02 Sep 2009 21:43:58 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090803 Fedora/3.5.2-2.fc11 Firefox/3.5.2

Follow-up Comment #1, bug #27373 (project coreutils):

I can't reproduce this or see anything wrong with the code.

All 720 of my locales work fine:

$ for LANG in $(locale -a); do printf "KnEnMnZn" | ./sort -h | tr -d 'n';
echo; done | uniq -c
    720 KMEZ

Can you give your libc version?
Could you add a printf() to the find_unit_order() function in sort.c to see
if it's called?

thanks.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27373>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]