Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Plan9 1st Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

FMT(1)

NAME

fmt − ultra-simple text formatter

SYNOPSIS

­fmt [ ­option ...  ] [ ­file ...  ]

DESCRIPTION

­Fmt copies the given ­files (standard input by default) to its standard output, filling and indenting lines.  The options are

-l n Output line length is ­n, including indent, (default 70). 

-i n Indent ­n spaces (default 0). 

-j Don’t join input lines, simply split them where necessary. 

Empty lines and initial white space in input lines are preserved.  Empty lines are inserted between input files. 

­Fmt is idempotent: it leaves already formatted text unchanged. 

BUGS

Words longer than 256 characters are split. 

Plan 9  —  January 03, 1993

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