Line | |
---|
1 | .TH FMT 1
|
---|
2 | .SH NAME
|
---|
3 | fmt - adjust line-length for paragraphs of text
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBfmt\fP [\-\fIwidth\fP] [\fIfiles\fP]...
|
---|
6 | .SH DESCRIPTION
|
---|
7 | \fIfmt\fR is a simple text formatter.
|
---|
8 | It inserts or deletes newlines, as necessary, to make all lines in a
|
---|
9 | paragraph be approximately the same width.
|
---|
10 | It preserves indentation and word spacing.
|
---|
11 | .PP
|
---|
12 | The default line width is 72 characters.
|
---|
13 | You can override this with the \-\fIwidth\fR flag.
|
---|
14 | If you don't name any files on the command line,
|
---|
15 | then \fIfmt\fR will read from stdin.
|
---|
16 | .PP
|
---|
17 | It is typically used from within \fIvi\fR to adjust the line breaks
|
---|
18 | in a single paragraph.
|
---|
19 | To do this, move the cursor to the top of the paragraph,
|
---|
20 | type "!}fmt", and
|
---|
21 | hit <Return>.
|
---|
22 | .SH AUTHOR
|
---|
23 | .nf
|
---|
24 | Steve Kirkendall
|
---|
25 | kirkenda@cs.pdx.edu
|
---|
26 | .fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.