File:  [Research Unix] / researchv10dc / man / adm / man1 / fmt.1
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.TH FMT 1
.CT 1 writing_other
.SH NAME
fmt \(mi ultra-simple text formatter
.SH SYNOPSIS
.B fmt
[
.I option ...
]
[
.I file ...
]
.SH DESCRIPTION
.I Fmt
copies the given
.I files
(standard input by default)
to its standard output, filling and indenting lines.
The options are
.TP
.BI -l " n
Output line length is
.I n,
including indent, (default 70).
.TP
.BI -i " n
Indent
.I n
spaces (default 0).
.PP
Empty lines and initial white space in input lines are preserved.
Empty lines are inserted between input files.
.PP
.I Fmt
is idempotent: it leaves already formatted text unchanged.
.SH BUGS
Words longer than 256 characters are split.

unix.superglobalmegacorp.com

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