aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/comm
Commit message (Collapse)AuthorAgeFilesLines
* Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | Notes: svn path=/projects/bmake/; revision=266219
* Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | Notes: svn path=/projects/bmake/; revision=265802
* Merge from headSimon J. Gerraty2014-05-081-1/+1
|\ | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | Merge headSimon J. Gerraty2014-04-2813-0/+71
|\| | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * Migrate most of tools/regression/usr.bin/ to the new tests layout.Julio Merino2014-03-1613-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately. Notes: svn path=/head/; revision=263227
* | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
* | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
* | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
|/ | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-291-1/+1
| | | | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days Notes: svn path=/head/; revision=233648
* Add helpful clarification text. While not strictly necessary, theseWarner Losh2011-11-161-3/+5
| | | | | | | | few words make this man page much easier to understand without re-reading prior parts of the man page. Notes: svn path=/head/; revision=227589
* Mark global functions and/or variables in comm(1) static where possible.Ed Schouten2011-11-061-8/+8
| | | | | | | This allows compilers and static analyzers to more thorough analysis. Notes: svn path=/head/; revision=227235
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-112-8/+0
| | | | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson Notes: svn path=/head/; revision=216370
* mdoc: order prologue macros consistently by Dd/Dt/OsUlrich Spörlein2010-04-141-1/+1
| | | | | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors) Notes: svn path=/head/; revision=206622
* Add SIZE_MAX overflow checkAndrey A. Chernov2010-03-091-0/+2
| | | | Notes: svn path=/head/; revision=204928
* Rewrite input processing to not exit with error on the first EILSEQ foundAndrey A. Chernov2010-03-081-108/+68
| | | | | | | | | | | in the input data but fallback to "binary comparison" instead. POSIX says: "The input files shall be text files", nothing more, so the text file with illegal sequence is valid input. BTW, GNU sort does not fails on EILSEQ too. Notes: svn path=/head/; revision=204896
* - Prevent overflowing of the buffer length variable in getline() byJaakko Heinonen2009-12-161-6/+12
| | | | | | | | | | | | limiting its maximum value. - Exit if reallocf(3) fails in getline(). Failure was silently considered as end-of-file. Reviewed by: ghelmer Approved by: trasz (mentor) Notes: svn path=/head/; revision=200604
* Don't read the newline character to line buffer because lines are passedJaakko Heinonen2009-12-121-16/+13
| | | | | | | | | | | | | | | | | | to wcscoll(3). Newline characters could cause incorrect results when comparing lines. Also, if an input line didn't contain a newline character, it was omitted from the output. According to my interpretation, SUSv3 requires that the newline is always printed. Add regression tests for the cases. [1] PR: bin/140976 Submitted by: D'Arcy Cain (original version) [1] Approved by: trasz (mentor) Notes: svn path=/head/; revision=200442
* The input line length limit mentioned on the manual page was removed byJaakko Heinonen2009-12-121-5/+1
| | | | | | | | | r179374. Approved by: trasz (mentor) Notes: svn path=/head/; revision=200441
* Similar to changes previously made to src/usr.bin/uniq/uniq.c,Guy Helmer2008-05-281-22/+90
| | | | | | | | fix truncation of lines at LINE_MAX characters by dynamically extending line buffers. Notes: svn path=/head/; revision=179374
* Document input line length limit.Tim J. Robbins2005-01-251-1/+5
| | | | Notes: svn path=/head/; revision=140835
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Document the -i option as being a non-standard extension.Tim J. Robbins2004-07-021-0/+6
| | | | Notes: svn path=/head/; revision=131499
* Add support for multibyte characters.Tim J. Robbins2004-07-022-33/+47
| | | | Notes: svn path=/head/; revision=131497
* Document the fact that comm(1) does not recognize multibyte charactersTim J. Robbins2004-06-241-1/+7
| | | | | | | | | in its input. Although doing so would require only trivial changes, it would be incompatible with the ordering used by sort(1), which is the primary source of comm's input. Notes: svn path=/head/; revision=131057
* ANSIify function definitions to avoid a warning.David Malone2002-07-281-14/+7
| | | | | | | Minor constness changes. Notes: svn path=/head/; revision=100819
* Add a History section. comm(1) appeared in V4.Tim J. Robbins2002-05-281-0/+5
| | | | Notes: svn path=/head/; revision=97394
* No need to handle '-' explicitly in getopt() loop.Tim J. Robbins2002-05-281-5/+2
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=97393
* Use `The .Nm utility'Philippe Charnier2002-04-191-2/+3
| | | | Notes: svn path=/head/; revision=95083
* remove __PWarner Losh2002-03-221-4/+4
| | | | Notes: svn path=/head/; revision=92920
* Remove leaf node WARNS?=2 (that mainly I added). This shouldMark Murray2002-02-081-1/+0
| | | | | | | help the GCC3 transition and CURRENT in general. Notes: svn path=/head/; revision=90415
* Use LC_ALL to pick LC_COLLATE too (for strcoll())Andrey A. Chernov2001-12-301-1/+1
| | | | Notes: svn path=/head/; revision=88717
* Style improvements recommended by Bruce as a follow up to someDavid Malone2001-12-101-5/+6
| | | | | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF. Notes: svn path=/head/; revision=87628
* Use __FBSDID().Mark Murray2001-12-021-6/+6
| | | | Notes: svn path=/head/; revision=87246
* WARNS=2 fixup.Mark Murray2001-12-022-6/+9
| | | | Notes: svn path=/head/; revision=87213
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-3/+1
| | | | Notes: svn path=/head/; revision=81687
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-241-0/+1
| | | | | | | builtins (e.g., exit, strcmp). Notes: svn path=/head/; revision=78718
* Rework diagnostics textPhilippe Charnier2001-02-062-5/+4
| | | | | | | Remove unused #include Notes: svn path=/head/; revision=72107
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-3/+3
| | | | Notes: svn path=/head/; revision=68963
* fix the same typo as in uniqAndrey A. Chernov1999-12-101-1/+1
| | | | Notes: svn path=/head/; revision=54403
* toupper -> tolower to match changed behaviour of new grep case foldAndrey A. Chernov1999-10-291-2/+2
| | | | Notes: svn path=/head/; revision=52616
* Cosmetique: use standard prototypes schemeAndrey A. Chernov1999-10-241-13/+16
| | | | | | | Back out prev change: toupper is more compatible with sort -f Notes: svn path=/head/; revision=52461
* toupper->tolower to match what strcasecmp doesAndrey A. Chernov1999-10-241-2/+2
| | | | Notes: svn path=/head/; revision=52457
* Localize itAndrey A. Chernov1999-10-241-2/+19
| | | | | | | | PR: 11221 Submitted by: Grigoriy Strokin <grg@philol.msu.ru> Notes: svn path=/head/; revision=52453
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50477
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).Archie Cobbs1998-12-062-3/+4
| | | | Notes: svn path=/head/; revision=41568
* Teach comm(1) and uniq(1) about an option for case-insensitive work.Joerg Wunsch1997-09-072-7/+24
| | | | | | | | PR: 3042 Submitted by: graphix@iastate.edu (Kent Vander Velden) Notes: svn path=/head/; revision=29207
* Use err(3). Add DIAGNOSTIC section name in man page.Philippe Charnier1997-06-302-9/+8
| | | | Notes: svn path=/head/; revision=27094
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* This commit was generated by cvs2svn to compensate for changes in r23690,Peter Wemm1997-03-111-1/+2
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=23691