GNU bug report logs - #12264
join command

Previous Next

Package: coreutils;

Reported by: Szilard Albert <szilard.albert <at> gmail.com>

Date: Thu, 23 Aug 2012 06:21:01 UTC

Severity: wishlist

Tags: patch

Merged with 6366, 10924

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Szilard Albert <szilard.albert <at> gmail.com>
Cc: 12264 <at> debbugs.gnu.org
Subject: bug#12264: join command
Date: Thu, 23 Aug 2012 09:48:41 +0100
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.




This bug report was last modified 6 years and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.