Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mail(1)

nroff(1)

fmt(1)

NAME

fmt − simple text formatter

SYNTAX

fmt [name...]

DESCRIPTION

The fmt command 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 spacing at the beginning of the input lines is preserved in the output, as are blank lines and interword spacing.

The fmt command 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 ex editor (for example, vi) the command

!}fmt

will reformat a paragraph, evening the lines.

RESTRICTIONS

The program was designed to be simple and fast − for more complex operations, the standard text processors are likely to be more appropriate. 

SEE ALSO

mail(1), nroff(1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026