bug-coreutils
[Top][All Lists]
Advanced

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

bug#12264: join command


From: Pádraig Brady
Subject: bug#12264: join command
Date: Thu, 23 Aug 2012 09:48:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

forcemerge 12264 6366
stop

On 08/23/2012 07:08 AM, Szilard Albert wrote:
> Hi,
> 
> I am trying to use the join command to join the below files, and it only
> works for up to the pair of 1000.
> Any suggestions?

join(1) doesn't support numeric comparison currently.
It should, and that's already tracked at bug 6366.

If you could adjust the input so that it
sorts lexicographically it would work.

Two ways to do that are:

1. use a fixed width number format:

0001
0999
1000

2. sort input | join | sort -n
with obvious performance implications.

cheers,
Pádraig.





reply via email to

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