| Line | |
|---|
| 1 | .TH FOLD 1
|
|---|
| 2 | .SH NAME
|
|---|
| 3 | fold \- fold long lines
|
|---|
| 4 | .SH SYNOPSIS
|
|---|
| 5 | \fBfold\fR [\fB\-\fIn\fR]\fR [\fIfile\fR] ...\fR
|
|---|
| 6 | .br
|
|---|
| 7 | .de FL
|
|---|
| 8 | .TP
|
|---|
| 9 | \\fB\\$1\\fR
|
|---|
| 10 | \\$2
|
|---|
| 11 | ..
|
|---|
| 12 | .de EX
|
|---|
| 13 | .TP 20
|
|---|
| 14 | \\fB\\$1\\fR
|
|---|
| 15 | # \\$2
|
|---|
| 16 | ..
|
|---|
| 17 | .SH OPTIONS
|
|---|
| 18 | .FL "\-\fIn\fR" "How long should the output lines be"
|
|---|
| 19 | .SH EXAMPLES
|
|---|
| 20 | .EX "fold \-60" "Fold \fIstdin\fR to 60 characters"
|
|---|
| 21 | .EX "fold file" "Fold \fIfile\fP to 80 characters"
|
|---|
| 22 | .SH DESCRIPTION
|
|---|
| 23 | .PP
|
|---|
| 24 | \fIFold\fR takes copies its input from the named file (or \fIstdin\fR,
|
|---|
| 25 | if none is specified) to standard output.
|
|---|
| 26 | However, lines longer than the given maximum (default 80) are broken
|
|---|
| 27 | into multiple lines of the maximum length by inserting new line characters.
|
|---|
| 28 | .SH "SEE ALSO"
|
|---|
| 29 | .BR width (1).
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.