Wrap
Current Version: 1.0

Wrap- Word wrap long lines in standard output.

"Wrap is a useful filter that you may use more frequently than imagined. If you've ever tried to view text files using the TYPE or MORE commands, you'll notice that long lines are wrapped at the right edge of the screen. Unfortunately, DOS is not smart enough to break lines without also breaking words apart. Wrap is a simple filter which prevents words from being split at the right margin. Also useful when redirecting output to files. The result is more readable output. I use this in combination with Xray to view binary-laden word processor files e.g.,

xray winword.doc |wrap |less"

- description by Rich Green .

Wrap with source code (UNIX and DOS)
Wrap for OS2 ported by Rich Green