[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66253: sort manpage should be more explicit
From: |
Paul Eggert |
Subject: |
bug#66253: sort manpage should be more explicit |
Date: |
Thu, 28 Sep 2023 18:11:12 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
On 9/28/23 04:22, Pádraig Brady wrote:
-n, --numeric-sort compare according to string numerical value.
leading blanks, negative sign, decimal
point,
and thousands separators are supported.
Although a valiant effort this is likely to cause other trouble, as it
uses multiple terms (blanks, decimal point, thousands separator) without
explanation, and it omits the role of the locale. I suggest instead that
we simply say "see the manual", and tighten up the manual to explain
these and, while we're at it, other things (e.g., -0 vs 0).
I gave that a shot by installing the attached.
PS to Jorge: Changing behavior as you suggested would likely cause
trouble, as many programs depend on the current behavior, which is
standardized by POSIX here:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sort.html#tag_20_119_04
0001-sort-improve-help.patch
Description: Text Data