fmt

Reformat a text file by joining its paragraphs and limiting the line width to a number of characters (75 by default). More information: https://www.gnu.org/software/coreutils/fmt.

fmt path/to/file

fmt -w n path/to/file

fmt -s path/to/file

fmt -u path/to/file