15 Dec 1998
wrap - filter to word-wrap text
wrap [-w width] [--version --help]
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.
|Display a command synopsis and exit.|
|Display the program’s version information and exit.|
|Specify the maximum number of columns width that the text may span. The minimum value of width is 10.|
If wrap 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.