Wrap each line to fit in specified width
Answer:
If you want to format a text file into a specific width, you can use the fold command
E.g.
# fold -w 40 test.txt
The above command will wrap the text file and print to standard out, with width = 40 characters.