BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / fmt.0
FMT(1) UNIX Programmer's Manual FMT(1)
N\bNA\bAM\bME\bE
fmt - simple text formatter
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
f\bfm\bmt\bt [ name ... ]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bF_\bm_\bt is a simple text formatter which reads the concatenation
of input files (or standard input if none are given) and
produces on standard output a version of its input with
lines as close to 72 characters long as possible. The spac-
ing at the beginning of the input lines is preserved in the
output, as are blank lines and interword spacing.
_\bF_\bm_\bt is meant to format mail messages prior to sending, but
may also be useful for other simple tasks. For instance,
within visual mode of the _\be_\bx editor (e.g. _\bv_\bi) the command
!}fmt
will reformat a paragraph, evening the lines.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
nroff(1), mail(1)
A\bAU\bUT\bTH\bHO\bOR\bR
Kurt Shoens
B\bBU\bUG\bGS\bS
The program was designed to be simple and fast - for more
complex operations, the standard text processors are likely
to be more appropriate.
Printed 7/9/88 April 29, 1985 1