Fold and fmt snippets
# View file and fold lines are 60 characters and on spacescat file.txt | fold -s -w 60# -s - fold on spaces
# Fold file and output to filefold -s -w 60 < file.txt > foldedfile.txt
# Reformat filefmt file.txt
# Reformat outputcat file.txt | fmf
# Reformat file with uniform spaces (1 space between words, 2 between paragraphs)fmt -u file.txt