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