Commit Graph

21 Commits

Author SHA1 Message Date
ru
c14d208cbd The old fmt(1) always did what the new ``-l 8'' option does.
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
2001-08-15 14:53:55 +00:00
kris
6c97019ad9 Don't call errx() with a variable format string
MFC after:	1 week
2001-08-11 00:49:11 +00:00
dd
d705df8034 WARNS= -> WARNS?=
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
jlemon
cad6c25631 Cast size_t -> int to satisfy printf %* constraints on the alpha. 2001-06-16 06:22:09 +00:00
ru
f8f4f45d97 fmt(1) rewrite by Gareth McCaughan.
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
2001-06-06 10:17:05 +00:00
sheldonh
e89d7fd619 Mark up the optional -c option with the Op macro.
PR:		17271
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
2000-03-09 09:27:40 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
6578739ddb Add $Id$, to make it simpler for members of the translation teams to
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
1999-07-12 20:24:20 +00:00
joerg
1327f7f2c8 Ooops, the Makefile was not supposed to be changed. Unspam this. 1997-09-30 19:42:55 +00:00
joerg
c8deb2dc55 Fix a number of fixed-size buffers etc.
PR:		bin/4520
Submitted by:	gjm11@dpmms.cam.ac.uk (Gareth McCaughan)
1997-09-30 19:42:05 +00:00
jlemon
5d3c68aeda Pre-allocate buffer to avoid core dump in corner cases.
PR:		2968
Submitted by:	Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
1997-08-21 03:41:41 +00:00
charnier
e800470198 Add rcsid, prototypes. Use err(3). 1997-07-03 07:19:46 +00:00
bde
3f969c2fa3 Removed inconsistent declaration of malloc(). `make world' with DESTDIR
set to something other than "/" now actually works.
1997-04-23 10:16:58 +00:00
wosch
4bcfb053ec Sort cross references. 1997-01-15 23:25:55 +00:00
phk
fe6f3f9eab Add -c flag to fmt to center lines. 1996-09-10 19:50:23 +00:00
smpatel
791bb4af0a Fix a segfault which occurs when it gets an empty input line.
Closes PR bin/1153

Reviewed by:	smpatel
Submitted by:	Matthew C. Mead (mmead@Glock.COM)
1996-04-22 18:37:22 +00:00
joerg
ed683028f0 Dynamically allocate line buffers, instead of assuming that all the
world would fit into BUFSIZ.
1995-11-15 15:01:01 +00:00
ache
f30cf8615c Add setlocale LC_CTYPE 1995-10-24 06:15:05 +00:00
rgrimes
a14d555c87 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
ache
cd84e329a9 Make fmt ctype-aware
Fix non-critical bug with getting EOF double times
Not call strlen for zero length test
1995-05-11 21:32:35 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00