bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6366: join can't join on numeric fields


From: Paul Eggert
Subject: bug#6366: join can't join on numeric fields
Date: Wed, 09 Jun 2010 10:06:56 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]