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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"