diff options
author | Kamil Dudka <kdudka@redhat.com> | 2016-07-18 19:04:45 +0200 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-07-18 22:24:26 +0100 |
commit | 0f9fc7b3b9aee1d001ca60de1125e6e714e70ac7 (patch) | |
tree | 87b3a57b2cf165447146a9d9238a8da2cb876239 /tests/misc/cat-buf.sh | |
parent | dfbc945a562f870f6647672374c00d4f1ffb6097 (diff) | |
download | coreutils-0f9fc7b3b9aee1d001ca60de1125e6e714e70ac7.tar.xz |
sort: with -h, disallow thousands separator between number and unit
* src/sort.c (traverse_raw_number): Accept thousands separator only
if it is immediately followed by a digit.
* tests/misc/sort-h-thousands-sep.sh: Cover the fix for this bug.
Suggested by Pádraig Brady in http://bugs.gnu.org/24015
Diffstat (limited to 'tests/misc/cat-buf.sh')
0 files changed, 0 insertions, 0 deletions