Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jun 2016 16:33:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-doc@FreeBSD.org
Subject:   [Bug 210377] usr.bin/comm update manpage
Message-ID:  <bug-210377-9@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: tcberner@gmail.com

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

The manpage of /usr/bin/comm says at the moment, that file1 and file2 "shou=
ld
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".

--=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-210377-9>