=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/fmt/fmt.1,v retrieving revision 1.17 retrieving revision 1.18 diff -c -r1.17 -r1.18 *** src/usr.bin/fmt/fmt.1 2003/06/10 09:12:10 1.17 --- src/usr.bin/fmt/fmt.1 2006/11/29 20:09:27 1.18 *************** *** 1,4 **** ! .\" $OpenBSD: fmt.1,v 1.17 2003/06/10 09:12:10 jmc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. --- 1,4 ---- ! .\" $OpenBSD: fmt.1,v 1.18 2006/11/29 20:09:27 jmc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. *************** *** 39,54 **** .Nm fmt .Op Fl cmnps .Op Fl d Ar chars ! .Op Fl l Ar num ! .Op Fl t Ar num .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 --- 39,54 ---- .Nm fmt .Op Fl cmnps .Op Fl d Ar chars ! .Op Fl l Ar number ! .Op Fl t Ar number ! .br .Oo .Ar goal ! .Oo Ar maximum Oc \*(Ba ! .Fl Ns Ar width \*(Ba .Fl w Ar width .Oc ! .Op Ar .Sh DESCRIPTION .Nm is a simple text formatter which reads the concatenation of input *************** *** 87,92 **** --- 87,110 ---- Center the text, line by line. In this case, most of the other options are ignored; no splitting or joining of lines is done. + .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 + .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 + Replace multiple spaces with tabs at the start of each output + line, if possible. + .Ar number + spaces will be replaced with one tab. .It Fl m Try to format mail header lines contained in the input sensibly. .It Fl n *************** *** 110,133 **** 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 - .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 - Replace multiple spaces with tabs at the start of each output - line, if possible. - .Ar number - spaces will be replaced with one tab. .It Fl t Ar number Assume that the input files' tabs assume .Ar number --- 128,133 ----