This group of filters serves no utilitarian purpose but is nonetheless quite amusing and hence should be maintained for posterity.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
talkfilters/wrap.man

33 lines
928 B

.TH wrap 1 "15 Dec 1998" "Version 1.3"
.SH NAME
wrap
\- filter to word-wrap text
.SH SYNOPSIS
\fBwrap\fP [\fB-w\fP \fIwidth\fP] [\fB--version --help\fP]
.SH DESCRIPTION
.PP
This program reads text from standard input, word-wraps it, and writes
the result to standard output. The text is formatted to fit a
specified number of columns. Extraneous whitespace is removed and
lines are only broken on word boundaries.
.SH OPTIONS
.TP 5
.B --help
Display a command synopsis and exit.
.TP 5
.B --version
Display the program's version information and exit.
.TP 5
\fB-w\fP \fIwidth\fP
Specify the maximum number of columns \fIwidth\fP that the text may
span. The minimum value of \fIwidth\fP is 10.
.SH SEE ALSO
.BR less (1),
.BR fold (1)
.SH NOTES
If \fBwrap\fP encounters a word that is longer than the specified
column width, the word is broken across two or more lines to fit
within that number of columns.
.SH AUTHOR
Mark Lindner