aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/unexpand
Commit message (Collapse)AuthorAgeFilesLines
* Fix off-by-one error processing the line after an empty line when theTim J. Robbins2002-10-041-0/+1
| | | | | | | | | | -a option is not specified. Submitted by: schweikh MFC after: 1 week Notes: svn path=/head/; revision=104466
* ANSIify function definitions.David Malone2002-09-041-7/+4
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=102944
* Allow <blank>s to be used to separate tab stop positions with the -tTim J. Robbins2002-06-151-2/+7
| | | | | | | | argument, not just ASCII space characters and commas. Don't count non-printing characters when determining column position. Notes: svn path=/head/; revision=98251
* Some minor nits exposed by the Open Group's VSC Lite verification suite:Tim J. Robbins2002-04-251-18/+25
| | | | | | | | | | | | - When an error occurs processing one file, we must continue to process the remaining files. - Convert trailing whitespace to tabs as appropriate. - Align backspace handling with what the verification suite expects. Reviewed by: mike Notes: svn path=/head/; revision=95474
* Add the -t option, which allows tab stop positions to be specified similarlyTim J. Robbins2002-04-231-51/+118
| | | | | | | | | | | to the way expand(1) allows. This brings unexpand(1) up to SUSv3 conformance, and it now passes all relevant parts of the GNU textutils test suite. PR: 35621 Reviewed by: mike Notes: svn path=/head/; revision=95304
* remove __PWarner Losh2002-03-221-2/+2
| | | | Notes: svn path=/head/; revision=92922
* WARNS=2 is to become the default, so remove. Use __FBSDID().Mark Murray2001-12-112-7/+6
| | | | Notes: svn path=/head/; revision=87697
* Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$Dima Dorfman2001-06-301-1/+3
| | | | | | | | | where necessary. Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=79011
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-241-0/+1
| | | | | | | | | builtins (e.g., exit). Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78717
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Add #include <string.h> to get prototypes.John Birrell1998-02-201-1/+2
| | | | Notes: svn path=/head/; revision=33645
* Main() returns int.Philippe Charnier1997-08-261-2/+2
| | | | Notes: svn path=/head/; revision=28789
* Use err(3) and add usage().Philippe Charnier1997-08-201-9/+22
| | | | Notes: svn path=/head/; revision=28456
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-272-0/+137
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590