https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217711

            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: [email protected]
          Reporter: [email protected]

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to