Linux and Unix fmt utility as a simple text formatter
fmt utility is a part of GNU core utilities and allows to reformat paragraph text writing to standard output. It also can read input from stdin. Usage example: Let’s assume you have big one-line text file (all words are placed in one single line and there are no returns characters there at all). In order to format this file with fmt just execute fmt /path/to/file and you’ll get 72 characters [...]
Read more →