GNU bug report logs -
#70599
join vs. numeric order
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
(info "(coreutils) Sorting files for join") needs to talk about numeric
order.
$ seq 111|join --check-order - /dev/null
join: -:10: is not sorted: 10
So the info manual needs to mention 'Even though your files might be in
perfect "sort --numeric-sort" order, you need to make them into plain
"sort" order first. Sorry. At least you'll get the same number of joins.'
Or, add a new join -n option. The join man page could now say:
'-n: use numeric comparisons. Note sort order also needs to be "sort -n" order.'
And / or mention how the user might tinker with LC_NUMERIC and / or
LC_COLLATE to somehow achieve numeric sorting...
This bug report was last modified 1 year and 48 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.