I know that I can use something like cat test.txt | pr -w 80 to wrap lines to 80 characters wide, but that puts a lot of space on the top and bottom of the printed lines and it does not work right on some systems
What's the best way to force a text file with long lines to be wrapped at a certain width?
Bonus points if you can keep it from breaking words.
