Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | For half and reverse line feeds, recognize both SUSv2-style escape-digit | bapt | 2015-05-10 | 1 | -0/+11 |
| | | | | | | | | and BSD-style escape-control-char sequences in the input stream. Submitted by: schwarze at OpenBSD Discussed with: schwarze at OpenBSD Obtained from: OpenBSD | ||||
* | Fix about ten integer overflows and underflows and a handful of logic | bapt | 2015-05-08 | 1 | -48/+69 |
| | | | | | | | | errors in line number handling. Submitted by: ingo at OpenBSD Discussed with: ingo at OpenBSD Obtained from: OpenBSD | ||||
* | Capsicumize col(1) | bapt | 2015-05-02 | 1 | -0/+19 |
| | |||||
* | Use defines to improve clarity | bapt | 2015-05-01 | 1 | -5/+5 |
| | | | | MFC after: 2 weeks | ||||
* | col: fixing 25 year old bug | bapt | 2015-05-01 | 1 | -4/+4 |
| | | | | | | | | | | Makes col(1) respect POSIX again for escape sequences as decribed in its manpage The bug was introduced in CSRG in 1990 This also reverts r280911 Differential Revision: https://reviews.freebsd.org/D2424 Reviewed by: jhb MFC after: 2 weeks | ||||
* | Remove bogus cast. | kevlo | 2015-03-31 | 1 | -4/+4 |
| | |||||
* | Fix to col when printing half-line feeds w/ -f option... | jmg | 2014-10-17 | 1 | -1/+1 |
| | | | | | | | Message-Id on openbsd-tech: 20141017195810.GJ132@iris.usta.de Submitted by: Ingo Schwarze Obtained from: OpenBSD MFC after: 3 days | ||||
* | 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 | 1 | -4/+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 |
| | |||||
* | 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 | 1 | -13/+31 |
| | | | | work in the util-linux package. | ||||
* | 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 |
| | |||||
* | remove __P | imp | 2002-03-22 | 1 | -8/+8 |
| | |||||
* | 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. | ||||
* | Add the -p flag to force unknown control sequences to be passed | mikeh | 2001-06-17 | 1 | -3/+8 |
| | | | | | | | | 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 | 1 | -0/+1 |
| | | | | MFC after: 1 week | ||||
* | Document the -h option. | dd | 2001-05-11 | 1 | -1/+1 |
| | |||||
* | Use errx(). .Nm fixes | charnier | 2000-03-26 | 1 | -8/+8 |
| | |||||
* | Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). | archie | 1998-12-06 | 1 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -0/+534 |