[Bug 210377] usr.bin/comm update manpage

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 18 16:33:57 UTC 2016


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

            Bug ID: 210377
           Summary: usr.bin/comm update manpage
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Documentation
          Assignee: freebsd-doc at FreeBSD.org
          Reporter: tcberner at gmail.com

Created attachment 171553
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171553&action=edit
Be more precise in the manpage.

The manpage of /usr/bin/comm says at the moment, that file1 and file2 "should
be sorted". This gives the impression that it will work as expected if the
files are not sorted, but maybe with a slight penalty on performance.

It is however the case, that unsorted files do not work as expected:


Example:
%  cat file1
line1
line3
line2

%  cat file2
line1
line2
line3

%  comm -12 file1 file2
line1
line3



The attached patch changes the language to "have to be sorted".

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


More information about the freebsd-doc mailing list