summaryrefslogtreecommitdiffstats
path: root/usr.bin/fmt/fmt.c
Commit message (Collapse)AuthorAgeFilesLines
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Don't format lines that look like troff requests, forru2002-01-111-4/+19
| | | | | | | | compatibility with old fmt(1). New option -n permits formatting of lines beginning with a dot character. PR: bin/31392 MFC after: 3 days
* The old fmt(1) always did what the new ``-l 8'' option does.ru2001-08-151-2/+11
| | | | | | | | POLA: Changed the default to ``-l 8'' while still providing a way to disable this feature with ``-l 0''. PR: bin/29247 Reviewed by: iedowse
* Don't call errx() with a variable format stringkris2001-08-111-1/+1
| | | | MFC after: 1 week
* Cast size_t -> int to satisfy printf %* constraints on the alpha.jlemon2001-06-161-1/+1
|
* fmt(1) rewrite by Gareth McCaughan.ru2001-06-061-527/+560
| | | | | | | PR: bin/5901, bin/12242, bin/19071 Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk> Obtained from: OpenBSD + ctype(3), WARNS=2, and manpage cleanup MFC after: 2 weeks
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix a number of fixed-size buffers etc.joerg1997-09-301-4/+31
| | | | | PR: bin/4520 Submitted by: gjm11@dpmms.cam.ac.uk (Gareth McCaughan)
* Pre-allocate buffer to avoid core dump in corner cases.jlemon1997-08-211-2/+6
| | | | | PR: 2968 Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
* Add rcsid, prototypes. Use err(3).charnier1997-07-031-12/+34
|
* Removed inconsistent declaration of malloc(). `make world' with DESTDIRbde1997-04-231-1/+0
| | | | set to something other than "/" now actually works.
* Add -c flag to fmt to center lines.phk1996-09-101-0/+27
|
* Fix a segfault which occurs when it gets an empty input line.smpatel1996-04-221-1/+8
| | | | | | | Closes PR bin/1153 Reviewed by: smpatel Submitted by: Matthew C. Mead (mmead@Glock.COM)
* Dynamically allocate line buffers, instead of assuming that all thejoerg1995-11-151-6/+31
| | | | world would fit into BUFSIZ.
* Add setlocale LC_CTYPEache1995-10-241-0/+3
|
* Remove trailing whitespace.rgrimes1995-05-301-8/+8
|
* Make fmt ctype-awareache1995-05-111-6/+6
| | | | | Fix non-critical bug with getting EOF double times Not call strlen for zero length test
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+467
OpenPOWER on IntegriCloud