GNU bug report logs - #47891
sort --numeric-sort-Extra-Strength

Previous Next

Package: coreutils;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 19 Apr 2021 13:21:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47891 in the body.
You can then email your comments to 47891 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#47891; Package coreutils. (Mon, 19 Apr 2021 13:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 19 Apr 2021 13:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-coreutils <at> gnu.org
Subject: sort --numeric-sort-Extra-Strength
Date: Mon, 19 Apr 2021 21:15:52 +0800
Let's face it, sort, no matter what --option, or LC_... value,
just can't achieve this order:

3-1號邊
3號之1
3號之2
30

What's the miracle kid (me) doing right that sort(1) just can't sort
out yet?

Mom told me "Just sort by numbers."

See https://www.jidanni.org/geo/house_numbering/sorting/ in your spare time.




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Mon, 21 Feb 2022 09:30:02 GMT) Full text and rfc822 format available.

Notification sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
bug acknowledged by developer. (Mon, 21 Feb 2022 09:30:03 GMT) Full text and rfc822 format available.

Message #10 received at 47891-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 47891-done <at> debbugs.gnu.org
Subject: Re: bug#47891: sort --numeric-sort-Extra-Strength
Date: Mon, 21 Feb 2022 01:29:16 -0800
On 4/19/21 06:15, 積丹尼 Dan Jacobson wrote:
> Let's face it, sort, no matter what --option, or LC_... value,
> just can't achieve this order:
> 
> 3-1號邊
> 3號之1
> 3號之2
> 30

Plain 'sort -n' works for me, in my en_US.utf8 locale. :-)

I do take your point, though, that GNU 'sort' does not support sorting 
by Taiwanese house address. The usual way to handle this sort of thing 
is to transform the house address into a form that GNU 'sort' can 
handle, sort, then transform back. I doubt whether we'll be adding a 
--taiwanese-address-sort option any time soon so I'm taking the liberty 
of closing the bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 21 Mar 2022 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.