Re: [bug #27373] sort -h performs incorrectly if in utf8 locale.
From:
Jim Meyering
Subject:
Re: [bug #27373] sort -h performs incorrectly if in utf8 locale.
Date:
Thu, 03 Sep 2009 08:53:49 +0200
PƔdraig Brady wrote:
> 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
PƔdraig,
The web interface ate all of your backslashes:
for LANG in $(locale -a); do printf "K\nE\nM\nZ\n" \
| sort -h|tr -d '\n'; echo; done | uniq -c