summaryrefslogtreecommitdiffstats
path: root/usr.bin/col
Commit message (Collapse)AuthorAgeFilesLines
* MFC r282339,r282341:ngie2015-10-265-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, r282722bapt2015-05-152-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)ed2011-11-061-23/+23
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-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
* Remove more extraneous ;s.emaste2010-07-151-1/+1
|
* The variables i and tot don't need to be static.stefanf2006-07-181-2/+2
|
* Avoid shadowing a local scratch variable,dwmalone2005-11-131-2/+2
|
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Add a standard DIAGNOSTICS section.tjr2004-08-041-1/+3
|
* Add a cross-reference to colcrt(1).tjr2004-07-291-0/+1
|
* Sort #include directives and remove one duplicate that crept in to thetjr2004-07-291-2/+1
| | | | previous commit.
* Add support for multibyte characters, loosely based on Bruno Haible'stjr2004-07-292-18/+41
| | | | work in the util-linux package.
* Document incorrect handling of multibyte characters.tjr2004-07-151-1/+5
|
* Deal with double whitespace.ru2004-07-031-1/+1
|
* ANSIify function definitions.dwmalone2002-09-041-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().jmallett2002-08-191-1/+0
|
* Sort options in Description section.tjr2002-06-041-5/+5
|
* Note SUSv2 conformance.tjr2002-06-041-0/+5
|
* Use `The .Nm utility'charnier2002-04-191-6/+9
|
* remove __Pimp2002-03-221-8/+8
|
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-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.
* Use __FBSDID().markm2001-12-021-6/+6
|
* Remove the misnamed `xmalloc' and replace its uses with the realloc (alongobrien2001-07-241-19/+11
| | | | with error checking) that it actually was.
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* Add the -p flag to force unknown control sequences to be passedmikeh2001-06-173-7/+18
| | | | | | | | through unchanged. Reviewed by: silence on -audit Obtained from: NetBSD MFC after: 3 weeks
* Use err(3) and style(9) cleanup.mikeh2001-06-171-21/+13
| | | | MFC after: 2 weeks
* Fix a trivial warning and clamp down with WARNS=2kris2001-05-262-1/+3
| | | | MFC after: 1 week
* Document the -h option.dd2001-05-112-2/+4
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Use errx(). .Nm fixescharnier2000-03-262-12/+12
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-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[]).archie1998-12-062-2/+3
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Merge from Lite2peter1997-03-111-1/+5
|
* Use the .At macro where appropriate.mpp1996-08-231-1/+2
|
* Add setlocale LC_CTYPEache1995-10-241-0/+3
|
* Obtained from: looked at the fix in 1.1.5 and rewrote itbde1995-01-171-8/+18
| | | | Fix entabbing.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-274-0/+713
OpenPOWER on IntegriCloud