Commit Graph

27 Commits

Author SHA1 Message Date
ru
21331566c5 Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
ru
1fd830331f Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
tjr
c3008b9fcb Add support for multibyte characters and for characters that take up
more than one column position.
2004-06-24 13:42:26 +00:00
ru
f5844203bb mdoc(7) police: markup polishing.
Approved by:	re
2002-11-26 10:57:57 +00:00
dwmalone
e3e153e6ce ANSIify function definitions.
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
2002-09-04 23:29:10 +00:00
obrien
3cb8dae44d Consistently use FBSDID 2002-06-30 05:25:07 +00:00
tjr
22d857d1f3 Remove obsolescent -tabstop option from Synopsis (it was already removed
from the usage() message). Document what the -t option does in a more
standard place. Add a standard Diagnostics section.
2002-06-15 10:52:20 +00:00
tjr
64aefbfaf5 Allow <blank>s to be used to separate tab stop positions with the -t
argument, not just ASCII space characters and commas. Don't count
non-printing characters when determining column position.
2002-06-15 10:16:39 +00:00
tjr
e8877258d8 If processing of one file fails, try to process the remaining files and
exit non-zero instead of immediately exiting (SUSv3).
2002-05-24 06:00:47 +00:00
tjr
3d0b1adec0 Add the -t option, which allows tab stop positions to be specified similarly
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
2002-04-23 07:15:09 +00:00
charnier
75f0c117d4 Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
imp
0338ac6a1a remove __P 2002-03-22 01:22:50 +00:00
ru
b733c8b25a Boundary check an array holding tab stops.
PR:		bin/35590
Submitted by:	"Tim J. Robbins" <tim@robbins.dropbear.id.au>
2002-03-06 12:05:17 +00:00
markm
72f8b8d824 Remove leaf node WARNS?=2 (that mainly I added). This should
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
ru
ecbb298b07 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
dd
2b75a1b683 Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).
2001-06-24 19:50:42 +00:00
dd
d8aa9f1a31 This compiles cleanly with WARNS=2; make sure it stays that way. 2001-06-20 01:12:46 +00:00
dd
c0c4a12cc4 Don't arbitrarily limit tabstop expansions to 256 characters.
Submitted by:	Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
2001-06-20 01:08:58 +00:00
ru
b1c3961564 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ru
0957874304 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
charnier
662ccd10e4 Use errx(), remove unused #include. Correct SYNOPSIS 2000-03-26 14:28:31 +00:00
peter
e4b04a2b21 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
7e91e73b9f 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
archie
b24c3efc8e Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
cwt
79e9ca33e3 PR: bin/5529
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>

Do not misinterpret file names with a digit in the 2nd column as
a tab stop specification.
1998-02-02 07:10:59 +00:00
charnier
89f2219174 Add usage(), rcsid. Use getopt().
Obtained from: OpenBSD.
1997-07-01 06:34:31 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00