Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2017 23:41:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217711] join(1) tool fails to properly arrange default field order
Message-ID:  <bug-217711-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217711

            Bug ID: 217711
           Summary: join(1) tool fails to properly arrange default field
                    order
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: alt.j2-4o4s2yon@yopmail.com

found using the GNU coreutils testsuite.

# For -v2, print the match field correctly with the default output format,
# when that match field is different between file 1 and file 2.  Fixed in 8=
.10
['v2-order', '-v2 -2 2', ["", "2 1\n"], "1 2\n", 0],
expected output for join v2 -2 2 is "1 2"
with the 2 files, one being an empty file, the other containing only "2 1" =
and
a newline character.

here's instructions how to use the gnu coreutils testsuite:

    in order to use the testsuite, one needs 3 files from coreutils:
    tests/misc/join.pl, the actual test;
    tests/Coreutils.pm, some library functions; and
    src/getlimits
    the latter you can compile in the coreutils tree via: make src/getlimits
    then you need to patch Coreutils.pm to run getlimits from whereever you
    have it, or add it to PATH. after that modify join.pl to start the join
    implementation to test. run it with: perl -I. -MCoreutils join.pl

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217711-8>