Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fmt(1) — DYNIX/ptx 3.2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nroff(1)

mail(1)

FMT(1)  —  UNIX Programmer’s Manual

NAME

fmt − simple text formatter

SYNOPSIS

fmt [ -width ] [ name ...  ]

DESCRIPTION

Fmt 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 width characters long as possible.  If width is omitted, it defaults to 72 characters.  The spacing at the beginning of the input lines is preserved in the output, as are blank lines and inter-word spacing. 

Fmt 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 (e.g.  vi) the command
!}fmt
will reformat a paragraph, evening the lines.

SEE ALSO

nroff(1), mail(1)

AUTHOR

Kurt Shoens

BUGS

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

3BSD

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