1FMT(1) User Commands FMT(1)
2
3
4
6 fmt - simple optimal text formatter
7
9 fmt [-DIGITS] [OPTION]... [FILE]...
10
12 Reformat each paragraph in the FILE(s), writing to standard output. If
13 no FILE or if FILE is `-', read standard input.
14
15 Mandatory arguments to long options are mandatory for short options
16 too.
17
18 -c, --crown-margin
19 preserve indentation of first two lines
20
21 -p, --prefix=STRING
22 reformat only lines beginning with STRING, reattaching the pre‐
23 fix to reformatted lines
24
25 -s, --split-only
26 split long lines, but do not refill
27
28 -t, --tagged-paragraph
29 indentation of first line different from second
30
31 -u, --uniform-spacing
32 one space between words, two after sentences
33
34 -w, --width=WIDTH
35 maximum line width (default of 75 columns)
36
37 --help display this help and exit
38
39 --version
40 output version information and exit
41
42 With no FILE, or when FILE is -, read standard input.
43
45 Written by Ross Paterson.
46
48 Report bugs to <bug-coreutils@gnu.org>.
49
51 Copyright © 2007 Free Software Foundation, Inc.
52 This is free software. You may redistribute copies of it under the
53 terms of the GNU General Public License
54 <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the
55 extent permitted by law.
56
58 The full documentation for fmt is maintained as a Texinfo manual. If
59 the info and fmt programs are properly installed at your site, the com‐
60 mand
61
62 info fmt
63
64 should give you access to the complete manual.
65
66
67
68GNU coreutils 6.9 March 2008 FMT(1)