diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-11-28 22:09:29 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-11-28 22:09:29 +0000 |
commit | 8242670e71732acf1221a7817996cd558bdd662b (patch) | |
tree | 9df529b21527d5583e8ab8eaf74e3b4420fdce84 /usr.bin | |
parent | 5ca98bbb7466146271aaaa931455dd6f274c0aa1 (diff) |
Some minor format beautification from FreeBSD and add the AUTHORS
section back in.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/fmt/fmt.1 | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/usr.bin/fmt/fmt.1 b/usr.bin/fmt/fmt.1 index a6f391352b1..67a934acbac 100644 --- a/usr.bin/fmt/fmt.1 +++ b/usr.bin/fmt/fmt.1 @@ -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 @@ The 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 @@ flag, any change in the amount of whitespace at the start of a line 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 @@ evening the lines. .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. |