=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/fmt/fmt.1,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/fmt/fmt.1 2001/09/05 16:34:54 1.13 +++ src/usr.bin/fmt/fmt.1 2001/11/28 22:09:28 1.14 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fmt.1,v 1.13 2001/09/05 16:34:54 jakob Exp $ +.\" $OpenBSD: fmt.1,v 1.14 2001/11/28 22:09:28 millert Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,8 +33,6 @@ .\" .\" @(#)fmt.1 8.1 (Berkeley) 6/6/93 .\" -.\" Modified by Gareth McCaughan to describe the new version of `fmt' -.\" rather than the old one. .Dd June 6, 1993 .Dt FMT 1 .Os @@ -69,16 +67,18 @@ length defaults to 65 and the .Ar maximum -to 10 more than the goal length. +to 10 more than the +.Ar goal +length. Alternatively, a single .Ar width parameter can be specified either by prepending a hyphen to it or by using .Fl w . For example, -.Dl fmt -w 72 , -.Dl fmt -72 , +.Dq Li fmt -w 72 , +.Dq Li fmt -72 , and -.Dl fmt 72 72 +.Dq Li fmt 72 72 all produce identical output. The spacing at the beginning of the input lines is preserved in the output, as are blank lines and interword spacing. @@ -101,15 +101,20 @@ results in a new paragraph being begun. .It Fl s Collapse whitespace inside lines, so that multiple whitespace -characters are turned into a single space. (Or, at the end of a +characters are turned into a single space. +(Or, at the end of a sentence, a double space.) .It Fl d Ar chars Treat the .Ar chars (and no others) as sentence-ending characters. By default the -sentence-ending characters are full stop, question mark and -exclamation mark. +sentence-ending characters are full stop +.Pq Ql \&. , +question mark +.Pq Ql \&? +and exclamation mark +.Pq Ql \&! . Remember that some characters may need to be escaped to protect them from your shell. .It Fl l Ar number @@ -142,19 +147,19 @@ .Xr mail 1 , .Xr nroff 1 .Sh HISTORY -An +The .Nm command appeared in .Bx 3 . .Pp The version described herein is a complete rewrite and appeared in .Ox 2.4 . -.\" .Sh AUTHOR -.\" Kurt Shoens -.\" .br -.\" Liz Allen (added goal length concept) -.\" The above are the authors of the old `fmt' program; -.\" the present one was written by Gareth McCaughan. +.Sh AUTHORS +.An Kurt Shoens +.An Liz Allen +(added goal length concept) +.An Gareth McCaughan +(wrote this version) .Sh BUGS The program was designed to be simple and fast \- for more complex operations, the standard text processors are likely to be more appropriate.