January 2003
Intermediate to advanced
832 pages
32h 40m
English
fmt
fmt [goal[maximum]] [files]
Converts text to specified width by filling lines and removing
newlines. Width is specified as being close to
goal characters, but not over
maximum characters wide (65 and 75 characters by
default). Concatenate files on the command line, or read text from
standard input if no file is specified. By default, preserve blank
lines, spacing, and indentation. fmt attempts to
break lines at the end of sentences and to avoid breaking lines after
a sentence’s first word or before its last.