
{"id":5917,"date":"2011-03-18T18:42:29","date_gmt":"2011-03-18T18:42:29","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=4745"},"modified":"2011-03-18T18:42:29","modified_gmt":"2011-03-18T18:42:29","slug":"coreutils-join-outputs-wrong-field-order-for-v-option","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2011\/03\/18\/coreutils-join-outputs-wrong-field-order-for-v-option\/","title":{"rendered":"coreutils: join outputs wrong field order for -v option"},"content":{"rendered":"<p><a href=\"http:\/\/www.trueangle.org\/wp-content\/uploads\/2011\/03\/af72f-debian-bug-410270-2.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.trueangle.org\/wp-content\/uploads\/2011\/03\/af72f-debian-bug-410270-2.png\" alt=\"\" title=\"debian.bug-410270\" width=\"406\" height=\"226\" class=\"alignnone size-full wp-image-4753\" \/><\/a><br \/>\njoin &#8211; join lines of two files on a common field<\/p>\n<p><a>http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=410270<\/a><\/p>\n<pre>\nPackage: coreutils\nVersion: 5.97-5\nSeverity: normal\n\n\nthe join field is incorrect for the -v version.\n\n#08-Thu-20-03-40 \/tmp$ cat&gt;|a\n#a1,a2,c3,a4,a5\n#a21,a22,a33,a44,a55\n#08-Thu-20-05-07 \/tmp$ cat&gt;|b\n#b1,b2,b3,c3,b5\n#b21,b22,b33,b44,b55\n#08-Thu-20-06-07 \/tmp$                 join -t, -i -1 3 -2 4 a b\n#c3,a1,a2,a4,a5,b1,b2,b3,b5\n#08-Thu-20-06-10 \/tmp$                 join -v 2 -t, -i -1 3 -2 4 a b\n#b33,b21,b22,b44,b55\n#08-Thu-20-06-15 \/tmp$\n\nthanks.\n\n-- System Information:\nDebian Release: 4.0\nArchitecture: i386 (i686)\nShell:  \/bin\/sh linked to \/bin\/bash\nKernel: Linux 2.6.16nomd\nLocale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>join &#8211; join lines of two files on a common field http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=410270 Package: coreutils Version: 5.97-5 Severity: normal the join field is incorrect for the -v version. #08-Thu-20-03-40 \/tmp$ cat&gt;|a #a1,a2,c3,a4,a5 #a21,a22,a33,a44,a55 #08-Thu-20-05-07 \/tmp$ cat&gt;|b #b1,b2,b3,c3,b5 #b21,b22,b33,b44,b55 #08-Thu-20-06-07 \/tmp$ join -t, -i -1 3 -2 4 a b #c3,a1,a2,a4,a5,b1,b2,b3,b5 #08-Thu-20-06-10 \/tmp$ join -v 2 -t, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2011\/03\/18\/coreutils-join-outputs-wrong-field-order-for-v-option\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;coreutils: join outputs wrong field order for -v option&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":4752,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[83],"tags":[249,504,590,983],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5917"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=5917"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5917\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media\/4752"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=5917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=5917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=5917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}