bug-coreutils
[Top][All Lists]
Advanced

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

Re: Bug or Feature in join?


From: Eric Blake
Subject: Re: Bug or Feature in join?
Date: Tue, 20 Feb 2007 13:23:45 +0000

> I admit I haven't searched the bug database, just came across the 
> following problem with join version 5.97.

Consider upgrading - the latest stable version is 6.7 (although
for the case you mention, I don't think it will help much).

> 
> Two files, A and B. B contains all numbers from 1 to, e.g., 12.
> 
> a) A contains the two lines
>       1
>       10
> 
>     The output of join is _only_ the line "1".

Join requires sorted input.  Depending on your locale,
your input files don't seem like they are sorted in default
order, therefore you can't expect anything from join because
you are violating its precondition.

-- 
Eric Blake




reply via email to

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