70 lines
1.0 KiB
HTML
70 lines
1.0 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>fmt(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>fmt(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
fmt - adjust line-length for paragraphs of text
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>fmt</STRONG> [-<EM>width</EM>] [<EM>files</EM>]...
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
<EM>fmt</EM> is a simple text formatter. It inserts or deletes newlines, as
|
|
necessary, to make all lines in a paragraph be approximately the same
|
|
width. It preserves indentation and word spacing.
|
|
|
|
The default line width is 72 characters. You can override this with the
|
|
-<EM>width</EM> flag. If you don't name any files on the command line, then <EM>fmt</EM>
|
|
will read from stdin.
|
|
|
|
It is typically used from within <EM>vi</EM> to adjust the line breaks in a single
|
|
paragraph. To do this, move the cursor to the top of the paragraph, type
|
|
"!}fmt", and hit <Return>.
|
|
|
|
|
|
</PRE>
|
|
<H2>AUTHOR</H2><PRE>
|
|
Steve Kirkendall
|
|
kirkenda@cs.pdx.edu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|