You can use fold:
fold -sw 60
You can now paste your texts. fold will echo them back, word-wrapped after 60 columns. Exit with Ctrl+C or Ctrl+D.
You can also use files for input and output:
fold -sw 60 input.txt > output.txt
Posted by Henning Koch to makandra dev (2011-09-13 13:22)