When you use a word processor, formatting text so the lines will fit in the available space on the target device should not be an issue. But when working at the terminal, things are not that easy. Of course, you can always break lines by hand using your favorite text editor, but this is rarely desirable, and it’s even out of the question for automated processing. Hopefully, the POSIX
fold utility and the GNU/BSD
fmt command can help you to reflow a text so lines will not exceed a given length.