File:  [CSRG BSD Unix] / 43BSDTahoe / man / man1 / fmt.1
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)fmt.1	6.1 (Berkeley) 4/29/85
.\"
.TH FMT 1 "April 29, 1985"
.UC
.SH NAME
fmt \- simple text formatter
.SH SYNOPSIS
.B fmt
[
name ...
]
.SH DESCRIPTION
.I 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
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.
.PP
.I 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
.I ex
editor (e.g.
.IR vi )
the command
.br
	!}fmt
.br
will reformat a paragraph,
evening the lines.
.SH "SEE ALSO"
nroff(1), mail(1)
.SH AUTHOR
Kurt Shoens
.SH BUGS
The program was designed to be simple and fast \- for more complex
operations, the standard text processors are likely to be more appropriate.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.