Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MFC r282339,r282341: | ngie | 2015-10-26 | 5 | -0/+54 |
| | | | | | | | | | | r282339 (by bapt): Add regression test about reverse line feed to col(1) r282341 (by bapt): Actually push the right tests | ||||
* | MFC: r282305, r282309, r282342, r282669, r282722 | bapt | 2015-05-15 | 2 | -63/+129 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r282305: col: fixing 25 year old bug Makes col(1) respect POSIX again for escape sequences as decribed in its manpage The bug was introduced in CSRG in 1990 r282309: Use defines to improve clarity r282342: Capsicumize col(1) r282669: Fix about ten integer overflows and underflows and a handful of logic errors in line number handling. Submitted by: schwarze at OpenBSD Discussed with: schwarze at OpenBSD Obtained from: OpenBSD r282722: For half and reverse line feeds, recognize both SUSv2-style escape-digit and BSD-style escape-control-char sequences in the input stream. Submitted by: schwarze at OpenBSD Discussed with: schwarze at OpenBSD Obtained from: OpenBSD | ||||
* | Add missing static keywords to col(1) | ed | 2011-11-06 | 1 | -23/+23 |
| | |||||
* | 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 | ||||
* | Remove more extraneous ;s. | emaste | 2010-07-15 | 1 | -1/+1 |
| | |||||
* | The variables i and tot don't need to be static. | stefanf | 2006-07-18 | 1 | -2/+2 |
| | |||||
* | Avoid shadowing a local scratch variable, | dwmalone | 2005-11-13 | 1 | -2/+2 |
| | |||||
* | Expand *n't contractions. | ru | 2005-02-13 | 1 | -1/+1 |
| | |||||
* | Added the EXIT STATUS section where appropriate. | ru | 2005-01-17 | 1 | -1/+1 |
| | |||||
* | Add a standard DIAGNOSTICS section. | tjr | 2004-08-04 | 1 | -1/+3 |
| | |||||
* | Add a cross-reference to colcrt(1). | tjr | 2004-07-29 | 1 | -0/+1 |
| | |||||
* | Sort #include directives and remove one duplicate that crept in to the | tjr | 2004-07-29 | 1 | -2/+1 |
| | | | | previous commit. | ||||
* | Add support for multibyte characters, loosely based on Bruno Haible's | tjr | 2004-07-29 | 2 | -18/+41 |
| | | | | work in the util-linux package. | ||||
* | Document incorrect handling of multibyte characters. | tjr | 2004-07-15 | 1 | -1/+5 |
| | |||||
* | Deal with double whitespace. | ru | 2004-07-03 | 1 | -1/+1 |
| | |||||
* | ANSIify function definitions. | dwmalone | 2002-09-04 | 1 | -14/+8 |
| | | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5 | ||||
* | Remove local prototypes for main(). | jmallett | 2002-08-19 | 1 | -1/+0 |
| | |||||
* | Sort options in Description section. | tjr | 2002-06-04 | 1 | -5/+5 |
| | |||||
* | Note SUSv2 conformance. | tjr | 2002-06-04 | 1 | -0/+5 |
| | |||||
* | Use `The .Nm utility' | charnier | 2002-04-19 | 1 | -6/+9 |
| | |||||
* | remove __P | imp | 2002-03-22 | 1 | -8/+8 |
| | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | Remove the misnamed `xmalloc' and replace its uses with the realloc (along | obrien | 2001-07-24 | 1 | -19/+11 |
| | | | | with error checking) that it actually was. | ||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -1/+1 |
| | |||||
* | Add the -p flag to force unknown control sequences to be passed | mikeh | 2001-06-17 | 3 | -7/+18 |
| | | | | | | | | through unchanged. Reviewed by: silence on -audit Obtained from: NetBSD MFC after: 3 weeks | ||||
* | Use err(3) and style(9) cleanup. | mikeh | 2001-06-17 | 1 | -21/+13 |
| | | | | MFC after: 2 weeks | ||||
* | Fix a trivial warning and clamp down with WARNS=2 | kris | 2001-05-26 | 2 | -1/+3 |
| | | | | MFC after: 1 week | ||||
* | Document the -h option. | dd | 2001-05-11 | 2 | -2/+4 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -1/+1 |
| | |||||
* | Use errx(). .Nm fixes | charnier | 2000-03-26 | 2 | -12/+12 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | Add $Id$, to make it simpler for members of the translation teams to | nik | 1999-07-12 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde | ||||
* | Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). | archie | 1998-12-06 | 2 | -2/+3 |
| | |||||
* | 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. | ||||
* | Merge from Lite2 | peter | 1997-03-11 | 1 | -1/+5 |
| | |||||
* | Use the .At macro where appropriate. | mpp | 1996-08-23 | 1 | -1/+2 |
| | |||||
* | Add setlocale LC_CTYPE | ache | 1995-10-24 | 1 | -0/+3 |
| | |||||
* | Obtained from: looked at the fix in 1.1.5 and rewrote it | bde | 1995-01-17 | 1 | -8/+18 |
| | | | | Fix entabbing. | ||||
* | BSD 4.4 Lite Usr.bin Sources | rgrimes | 1994-05-27 | 4 | -0/+713 |