GNU bug report logs -
#26029
Problems with join
Previous Next
Reported by: "Peter Kluge" <linux-projekt <at> techno.ms>
Date: Wed, 8 Mar 2017 17:43:01 UTC
Severity: normal
Tags: notabug
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi,
> Am 08.03.2017 um 18:39 schrieb Peter Kluge <linux-projekt <at> techno.ms>:
>
> Hello Mike Haertel,
>
> I've a problem with the join-command
> 2 Files , compare-field in one file first in the other second filed.
> Files attached
>
> I want as output to have the compare-file and then the rest-content of
> file_1 followed by the rest-content of file-2
> Doesn't work. See Script. (also attached)
AFAICS you will need two joins to get the desired output. Otherwise the unpairable records are interleaved in the output. Although getting the unpairable records in a second invocation will always have a fixed order, it's by accident the one you request (add "-v 1 -v 2" in the second invocation).
The strange thing seems to be, that "-j1 2" is handled like "-1 2". "-j 1" should already have an option and "2" would then become the first filename making the last filename in the command line superfluous.
-- Reuti
[signature.asc (application/pgp-signature, attachment)]
This bug report was last modified 6 years and 202 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.