1FMT(1) General Commands Manual FMT(1)
2
3
4
6 fmt - simple text formatter
7
9 fmt [ name ... ]
10
12 Fmt is a simple text formatter which reads the concatenation of input
13 files (or standard input if none are given) and produces on standard
14 output a version of its input with lines as close to 72 characters long
15 as possible. The spacing at the beginning of the input lines is pre‐
16 served in the output, as are blank lines and interword spacing.
17
18 Fmt is meant to format mail messages prior to sending, but may also be
19 useful for other simple tasks. For instance, within visual mode of the
20 ex editor (e.g. vi) the command
21 !}fmt
22 will reformat a paragraph, evening the lines.
23
25 nroff(1), mail(1)
26
28 Kurt Shoens
29
31 The program was designed to be simple and fast - for more complex oper‐
32 ations, the standard text processors are likely to be more appropriate.
33
34
35
363rd Berkeley Distribution April 29, 1985 FMT(1)