GNU bug report logs -
#6366
join can't join on numeric fields
Previous Next
Full log
View this message in rfc822 format
On 06/08/2010 11:56 PM, Jim Meyering wrote:
> There may be a fly in the ointment.
>
> When comparing floating point numbers how would join measure equality?
The point is that "join" should be compatible with "sort".
Any option that "sort" has to compare fields,
is an option that "join" should also have.
The same code should be used for both "join" and "sort",
to do comparison. So, if "sort" has an option to do
IEEE-754 comparison in a certain way, "join" should
have the same option.
Arguably "uniq" should have the same set of options,
when checking whether two lines are equal, but I'd
say that's lower priority.
This bug report was last modified 6 years and 285 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.