diff options
author | Kamil Dudka <kdudka@redhat.com> | 2016-07-18 19:04:44 +0200 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-07-18 22:12:32 +0100 |
commit | dfbc945a562f870f6647672374c00d4f1ffb6097 (patch) | |
tree | ffcfa583d444b054b01e07487307b84460872191 /NEWS | |
parent | 5cc804337b06d46a2fe34f018e26e8bb8148b117 (diff) | |
download | coreutils-dfbc945a562f870f6647672374c00d4f1ffb6097.tar.xz |
sort: make -h work with -k and blank used as thousands separator
* src/sort.c (traverse_raw_number): Allow to skip only one occurrence
of thousands_sep to avoid finding the unit in the next column in case
thousands_sep matches as blank and is used as column delimiter.
* tests/misc/sort-h-thousands-sep.sh: Add regression test for this bug.
* tests/local.mk: Reference the test.
* NEWS: Mention the bug fix.
Reported at https://bugzilla.redhat.com/1355780
Fixes http://bugs.gnu.org/24015
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -21,6 +21,8 @@ GNU coreutils NEWS -*- outline -*- nl now resets numbering for each page section rather than just for each page. [This bug was present in "the beginning".] + sort -h -k now works even in locales that use blank as thousands separator. + stty --help no longer outputs extraneous gettext header lines for translated languages. [bug introduced in coreutils-8.24] |