=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/fmt/fmt.1,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/fmt/fmt.1 2000/03/07 21:11:08 1.9 --- src/usr.bin/fmt/fmt.1 2000/06/25 15:35:42 1.10 *************** *** 1,4 **** ! .\" $OpenBSD: fmt.1,v 1.9 2000/03/07 21:11:08 aaron Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. --- 1,4 ---- ! .\" $OpenBSD: fmt.1,v 1.10 2000/06/25 15:35:42 pjanzen Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. *************** *** 50,57 **** .Oo .Ar goal .Op Ar maximum .Oc ! .Op Ar name ... .Sh DESCRIPTION .Nm is a simple text formatter which reads the concatenation of input --- 50,60 ---- .Oo .Ar goal .Op Ar maximum + | + .Fl Ns Ar width | + .Fl w Ar width .Oc ! .Op Ar file ... .Sh DESCRIPTION .Nm is a simple text formatter which reads the concatenation of input *************** *** 67,74 **** --- 70,89 ---- to 65 and the .Ar maximum 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, 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 The options are as follows: .Bl -tag -width indent