bug-coreutils
[Top][All Lists]
Advanced

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

Re: join problem?


From: Paul Eggert
Subject: Re: join problem?
Date: Fri, 16 Sep 2005 09:35:33 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Jorge Infante <address@hidden> writes in
<http://lists.gnu.org/archive/html/bug-coreutils/2005-08/msg00034.html>:

>  I'm running:
> join -t "|" -j 1 -a 2 file1 file2 
>  The result is:
> 163|reg000524
>  I have a record with value "163" in file2.
>  Is a bug?

No, because join assumes that the input is sorted lexicographically.
Your input was sorted numerically, which is a different thing.
Perhaps "join" should have an option to assume numeric sort, but
that would be an enhancement.




reply via email to

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