xref: /386bsd/usr/share/man/cat1/fmt.0 (revision a2142627)
1FMT(1)                      386BSD Reference Manual                     FMT(1)
2
3NNAAMMEE
4     ffmmtt - simple text formatter
5
6SSYYNNOOPPSSIISS
7     ffmmtt [_g_o_a_l [_m_a_x_i_m_u_m]] [name ...]
8
9DDEESSCCRRIIPPTTIIOONN
10     FFmmtt is a simple text formatter which reads the concatenation of input
11     files (or standard input if none are given) and produces on standard
12     output a version of its input with lines as close to the _g_o_a_l length as
13     possible without exceeding the maximum.  The _g_o_a_l length defaults to 65
14     and the maximum to 75.  The spacing at the beginning of the input lines
15     is preserved in the output, as are blank lines and interword spacing.
16
17     FFmmtt is meant to format mail messages prior to sending, but may also be
18     useful for other simple tasks.  For instance, within visual mode of the
19     ex(1) editor (e.g.  vi(1))  the command
20
21           !}fmt
22
23     will reformat a paragraph, evening the lines.
24
25SSEEEE AALLSSOO
26     nroff(1),  mail(1)
27
28HHIISSTTOORRYY
29     The ffmmtt command appeared in 3BSD.
30
31BBUUGGSS
32     The program was designed to be simple and fast - for more complex
33     operations, the standard text processors are likely to be more
34     appropriate.
35
36BSD Experimental                 July 22, 1991                               1
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67