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 09.03.2017 um 16:32 schrieb Peter Kluge <linux-projekt <at> techno.ms>:
>
> thanks for the explanation.
> I prefer the "POSIX"-Standard teaching to my participants.
Aha, I didn't check this. Then the "-j" option should be moved to a new section "Deprecated" in the man/info page of the coreutils version too. (And mention the special handling of -j1 resp. -j2, while -j3 … works as one expects.)
> […]
> but it will not work with my files
> peter <at> SLES11-3:~/kluge/join> cat tn
> 101: Willi Wild: Waltraud Weisnix: Mercedes:A:Profi
> 102: Hans Hirnlos: Nici Blondie: Hummer: D:Profi
> peter <at> SLES11-3:~/kluge/join> cat sz
> 3h32'27:101:
> 2h55'11:102:
> peter <at> SLES11-3:~/kluge/join> join -t: -j2 2 tn sz
> :3h32'27: Wild: Waltraud Weisnix: Mercedes:A:Profi
> :2h55'11: Hirnlos: Nici Blondie: Hummer: D:Profi
> peter <at> SLES11-3:~/kluge/join> join -t: -2 2 tn sz
> :3h32'27: Wild: Waltraud Weisnix: Mercedes:A:Profi
> :2h55'11: Hirnlos: Nici Blondie: Hummer: D:Profi
> peter <at> SLES11-3:~/kluge/join> join -t: -1 2 sz tn
> : Willi Wild: Waltraud Weisnix: Mercedes:A:Profi
> : Hans Hirnlos: Nici Blondie: Hummer: D:Profi
> peter <at> SLES11-3:~/kluge/join>
For me it's working:
$ join -t: -1 2 sz tn
101:3h32'27:: Willi Wild: Waltraud Weisnix: Mercedes:A:Profi
102:2h55'11:: Hans Hirnlos: Nici Blondie: Hummer: D:Profi
$ join --version
join (GNU coreutils) 8.17
What version do you have in SLES11-3?
-- Reuti
[signature.asc (application/pgp-signature, attachment)]
This bug report was last modified 6 years and 203 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.