macOS / binaries /

fold

/usr/bin/fold
Fold long lines for finite width output device

The fold utility is a filter which folds the contents of the specified files, or the standard input if no files are specified, breaking the lines to have a maximum of 80 columns.

source: man