coreutils: join outputs wrong field order for -v option

join – join lines of two files on a common field

Package: coreutils
Version: 5.97-5
Severity: normal

the join field is incorrect for the -v version.

#08-Thu-20-03-40 /tmp$ cat>|a
#08-Thu-20-05-07 /tmp$ cat>|b
#08-Thu-20-06-07 /tmp$                 join -t, -i -1 3 -2 4 a b
#08-Thu-20-06-10 /tmp$                 join -v 2 -t, -i -1 3 -2 4 a b
#08-Thu-20-06-15 /tmp$


-- System Information:
Debian Release: 4.0
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16nomd
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: