Word Wrapper |
|
WRAP(1) WRAP(1)
NAME
wrap - word wrapper
SYNOPSIS
wrap [-hsV*] [-w width] [file*]
DESCRIPTION
wrap acts as a word wrapper. As such, it reads its input
(either specified as command line arguments by one or more
files or, if unspecified, stdin) line by line, trimming
and rearranging it so that its words smoothly fit into the
lines, each of which contains no more than width charac
ters after being processed.
Input lines are not only trimmed to the specified width,
but also rearranged to provide a left-aligned floating
text. Floating starts and stops at the beginning and the
end of a new paragraph, respectively. Paragraphs are rec
ognized as such by empty lines, that is, lines that con
tain nothing but a single newline character.
OPTIONS
-h Displays short help text.
-s Removes special, that is, unprintable, characters
from the input.
-V Displays version information.
-w width
Set the output text width to width characters. The
default width is 72.
EXIT CODE
On success, 0 is returned. Otherwise, 1 is returned.
KNOWN BUGS
wrap works for continuous text only. Feeding it texts with
special formatting, indentation or spacing will inevitably
result in the formatting being destroyed.
SEE ALSO
fold(1), just(1).
COPYRIGHT
wrap has been released under the GNU Public License.
AUTHOR
Pitt Murmann
|
|
|
Last modified by Pitt Murmann at 2000-08-28. |
|