Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use src.opts.mk in preference to bsd.own.mk except where we need stuff | imp | 2014-05-06 | 1 | -1/+1 |
| | | | | from the latter. | ||||
* | Migrate most of tools/regression/usr.bin/ to the new tests layout. | jmmv | 2014-03-16 | 13 | -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. | ||||
* | Remove trailing whitespace per mdoc lint warning | eadler | 2012-03-29 | 1 | -1/+1 |
| | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days | ||||
* | Add helpful clarification text. While not strictly necessary, these | imp | 2011-11-16 | 1 | -3/+5 |
| | | | | | few words make this man page much easier to understand without re-reading prior parts of the man page. | ||||
* | Mark global functions and/or variables in comm(1) static where possible. | ed | 2011-11-06 | 1 | -8/+8 |
| | | | | This allows compilers and static analyzers to more thorough analysis. | ||||
* | Remove the advertising clause from UCB copyrighted files in usr.bin. This | joel | 2010-12-11 | 2 | -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 | ||||
* | mdoc: order prologue macros consistently by Dd/Dt/Os | uqs | 2010-04-14 | 1 | -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) | ||||
* | Add SIZE_MAX overflow check | ache | 2010-03-09 | 1 | -0/+2 |
| | |||||
* | Rewrite input processing to not exit with error on the first EILSEQ found | ache | 2010-03-08 | 1 | -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. | ||||
* | - Prevent overflowing of the buffer length variable in getline() by | jh | 2009-12-16 | 1 | -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) | ||||
* | Don't read the newline character to line buffer because lines are passed | jh | 2009-12-12 | 1 | -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) | ||||
* | The input line length limit mentioned on the manual page was removed by | jh | 2009-12-12 | 1 | -5/+1 |
| | | | | | | r179374. Approved by: trasz (mentor) | ||||
* | Similar to changes previously made to src/usr.bin/uniq/uniq.c, | ghelmer | 2008-05-28 | 1 | -22/+90 |
| | | | | | fix truncation of lines at LINE_MAX characters by dynamically extending line buffers. | ||||
* | Document input line length limit. | tjr | 2005-01-25 | 1 | -1/+5 |
| | |||||
* | Added the EXIT STATUS section where appropriate. | ru | 2005-01-17 | 1 | -1/+1 |
| | |||||
* | Document the -i option as being a non-standard extension. | tjr | 2004-07-02 | 1 | -0/+6 |
| | |||||
* | Add support for multibyte characters. | tjr | 2004-07-02 | 2 | -33/+47 |
| | |||||
* | Document the fact that comm(1) does not recognize multibyte characters | tjr | 2004-06-24 | 1 | -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. | ||||
* | ANSIify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 1 | -14/+7 |
| | | | | Minor constness changes. | ||||
* | Add a History section. comm(1) appeared in V4. | tjr | 2002-05-28 | 1 | -0/+5 |
| | |||||
* | No need to handle '-' explicitly in getopt() loop. | tjr | 2002-05-28 | 1 | -5/+2 |
| | | | | Obtained from: NetBSD | ||||
* | Use `The .Nm utility' | charnier | 2002-04-19 | 1 | -2/+3 |
| | |||||
* | remove __P | imp | 2002-03-22 | 1 | -4/+4 |
| | |||||
* | Remove leaf node WARNS?=2 (that mainly I added). This should | markm | 2002-02-08 | 1 | -1/+0 |
| | | | | help the GCC3 transition and CURRENT in general. | ||||
* | Use LC_ALL to pick LC_COLLATE too (for strcoll()) | ache | 2001-12-30 | 1 | -1/+1 |
| | |||||
* | Style improvements recommended by Bruce as a follow up to some | dwmalone | 2001-12-10 | 1 | -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. | ||||
* | Use __FBSDID(). | markm | 2001-12-02 | 1 | -6/+6 |
| | |||||
* | WARNS=2 fixup. | markm | 2001-12-02 | 2 | -6/+9 |
| | |||||
* | mdoc(7) police: utilize the new .Ex macro. | ru | 2001-08-15 | 1 | -3/+1 |
| | |||||
* | Include missing header files which define functions for which gcc has | dd | 2001-06-24 | 1 | -0/+1 |
| | | | | builtins (e.g., exit, strcmp). | ||||
* | Rework diagnostics text | charnier | 2001-02-06 | 2 | -5/+4 |
| | | | | Remove unused #include | ||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -3/+3 |
| | |||||
* | fix the same typo as in uniq | ache | 1999-12-10 | 1 | -1/+1 |
| | |||||
* | toupper -> tolower to match changed behaviour of new grep case fold | ache | 1999-10-29 | 1 | -2/+2 |
| | |||||
* | Cosmetique: use standard prototypes scheme | ache | 1999-10-24 | 1 | -13/+16 |
| | | | | Back out prev change: toupper is more compatible with sort -f | ||||
* | toupper->tolower to match what strcasecmp does | ache | 1999-10-24 | 1 | -2/+2 |
| | |||||
* | Localize it | ache | 1999-10-24 | 1 | -2/+19 |
| | | | | | PR: 11221 Submitted by: Grigoriy Strokin <grg@philol.msu.ru> | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 2 | -2/+2 |
| | |||||
* | Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). | archie | 1998-12-06 | 2 | -3/+4 |
| | |||||
* | Teach comm(1) and uniq(1) about an option for case-insensitive work. | joerg | 1997-09-07 | 2 | -7/+24 |
| | | | | | PR: 3042 Submitted by: graphix@iastate.edu (Kent Vander Velden) | ||||
* | Use err(3). Add DIAGNOSTIC section name in man page. | charnier | 1997-06-30 | 2 | -9/+8 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -1/+1 |
| | | | | posix standard on the topic. | ||||
* | Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build. | peter | 1997-03-11 | 1 | -1/+2 |
| | |||||
* | BSD 4.4 Lite Usr.bin Sources | rgrimes | 1994-05-27 | 3 | -0/+285 |