1FMT(1) User Commands FMT(1)
2
3
4
6 fmt - simple optimal text formatter
7
9 fmt [-WIDTH] [OPTION]... [FILE]...
10
12 Reformat each paragraph in the FILE(s), writing to standard output.
13 The option -WIDTH is an abbreviated form of --width=DIGITS.
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 fmt bugs to bug-coreutils@gnu.org
49 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
50 General help using GNU software: <http://www.gnu.org/gethelp/>
51 Report fmt translation bugs to <http://translationproject.org/team/>
52
54 Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU
55 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
56 This is free software: you are free to change and redistribute it.
57 There is NO WARRANTY, to the extent permitted by law.
58
60 The full documentation for fmt is maintained as a Texinfo manual. If
61 the info and fmt programs are properly installed at your site, the com‐
62 mand
63
64 info coreutils 'fmt invocation'
65
66 should give you access to the complete manual.
67
68
69
70GNU coreutils 8.5 November 2010 FMT(1)