summaryrefslogtreecommitdiff
path: root/usr.bin/fmt
AgeCommit message (Collapse)Author
2012-01-17tweak previous;Jason McIntyre
2012-01-17Change the exit value on errors to be more 4.4BSD like. Use the sum oflum
errors up to a maximum of 127, then to do not increment anymore, though programme execution continues. Use 127 as a maximum because error codes above this are: 1. bad because of signed bugs in programs. 2. used as the traditional shell $? representation of "kill by signal" where $? = 128 + signal. (from deraadt@ and guenther@ respectively)
2012-01-15Document the EXIT STATUS and remove an outdated related comment.Ingo Schwarze
While here, * as usual, the "first appeared" clause requires fixing, and * mention the date of the original implementation, using information from the CSRG archive CD 1. Triggered by a question asked by lum@, feedback and ok jmc@.
2010-10-28more roff adjustments;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2006-11-29trim usage(); ok millert deraadtJason McIntyre
2006-11-29- clean up the !}fmt sectionJason McIntyre
- better Xr
2006-11-29various improvements;Jason McIntyre
2006-11-29- sync synopsis and usage()Jason McIntyre
- sort options - avoid line split
2005-03-08weeping the tree for printf(s) where printf("%s",s) should be used.Chad Loder
This is a regression introduced during conversion from perror(3) to err(3) OK mickey@
2004-06-29use warn() instead of perror; err*() are used alreadyMichael Shalayeff
2004-04-01knf and ansi, mostly from joris vinkTed Unangst
2003-12-01Format string fixes from art's amd64 tree.Alexander Yurchenko
ok rohee@ espie@
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2001-11-29Restore historic behavior:Todd C. Miller
o don't fmt lines that start with '.' to avoid hosing *roff o add -n flag to disable above behavior (undocumented feature in old fmt) Patch from Ruslan Ermilov (FreeBSD)
2001-11-28Some minor format beautification from FreeBSD and add the AUTHORSTodd C. Miller
section back in.
2001-11-28from FreeBSD:Todd C. Miller
Some KNF Call setlocale() Remove some silliness for non-BSD systems
2001-09-05oopsJakob Schlyter
2001-09-05grammar; PR#2048Jakob Schlyter
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-06-25allow 'fmt -w width' and 'fmt -width'.Paul Janzen
ok millert@
2000-03-07Various cleanup.Aaron Campbell
2000-03-05Finish standardizing options list introduction.Aaron Campbell
1999-12-30dont strip off international characters; fixes pr/1020Niels Provos
1999-12-15safe strcpyTheo de Raadt
1999-07-04correct use of .Nm; some other formatting nitsAaron Campbell
1998-12-16more .Nm fixesAaron Campbell
1998-12-14adjust argv and argc correctly when reading max from command lineTodd C. Miller
1998-12-14pasto that caused goal and max params not to workTodd C. Miller
1998-09-26usr.bin/ man page fixes, f-m.Aaron Campbell
1998-04-25We no longer need head.c from ucbMailTodd C. Miller
1998-04-25getopt(3) returns -1 on end of args, not EOF.Todd C. Miller
1998-04-25fmt(1) rewrite by Gareth McCaughan.Todd C. Miller
1998-02-16use abs() on the width for compat with other versions of fmt that accept ↵Theo de Raadt
-width; ross
1997-10-01Fix bug where fmt allows backslashed whitespace inside words, but it onlyTodd C. Miller
counts each such as one character long, gjm11@dpmms.cam.ac.uk.
1997-09-23avoid crash when dealing with ^M lines; roberte@MEP.Ruhr-Uni-Bochum.deTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-02-09Updates file(1) to version 3.22 by way to NetBSD.Todd C. Miller
1997-02-08inline to avoid warningTheo de Raadt
1997-01-27No more static buffers. We can operate on any sized files now.Todd C. Miller
1997-01-26Dynamic buffering to handle arbitrary line length and center option from FreeBSDTodd C. Miller
I also cleaned it up to pass -Wall and check malloc().
1997-01-17r?index -> strr?chrTodd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt