version 1.9, 2000/03/07 21:11:08 |
version 1.10, 2000/06/25 15:35:42 |
|
|
.Oo |
.Oo |
.Ar goal |
.Ar goal |
.Op Ar maximum |
.Op Ar maximum |
|
| |
|
.Fl Ns Ar width | |
|
.Fl w Ar width |
.Oc |
.Oc |
.Op Ar name ... |
.Op Ar file ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm |
.Nm |
is a simple text formatter which reads the concatenation of input |
is a simple text formatter which reads the concatenation of input |
|
|
to 65 and the |
to 65 and the |
.Ar maximum |
.Ar maximum |
to 10 more than the goal length. |
to 10 more than the 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 , |
|
and |
|
.Dl fmt 72 72 |
|
all produce identical output. |
The spacing at the beginning of the input lines is preserved in the output, |
The spacing at the beginning of the input lines is preserved in the output, |
as are blank lines and interword spacing. |
as are blank lines and interword spacing. |
|
Lines are joined or split only at white space; that is, words are never |
|
joined or hyphenated. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width indent |
.Bl -tag -width indent |