FMT(1)
π FMT(1) π the simple optimal text formatter (User Commands edition)
okay bestie, sit down, hydrate, because we're about to make your messy paragraphs gorgeous. this is fmt, from the GNU coreutils fam, and she is lowkey a legend. π
β¨ NAME β¨
fmt β simple optimal text formatter π
β¨ SYNOPSIS β¨
fmt [-WIDTH] [OPTION]... [FILE]...
β¨ DESCRIPTION β¨
so basically? fmt takes every paragraph in the FILE(s) you hand her and reformats it, then writes the glow-up to standard output. β¨
and pssst β the option -WIDTH is just the short cute version of --width=DIGITS. same energy, fewer characters. π
if you give her no FILE, or if FILE is literally -, she reads from standard input. classic.
fr fr important: mandatory arguments to long options are also mandatory for the short options. no wiggle room, bestie. π
-c,--crown-marginβ keep the indentation of the first two lines. crown stays on, periodt π-p,--prefix=STRINGβ only reformat the lines that begin withSTRING, and then reattach that prefix back onto the reformatted lines. β¨-s,--split-onlyβ split the long lines, but do not refill them. she cuts, she doesn't re-fluff βοΈ-t,--tagged-paragraphβ the indentation of the first line is different from the second. tagged, babe π·οΈ-u,--uniform-spacingβ one space between words, two after sentences. uniform, tidy, iconic π-w,--width=WIDTHβ maximum line width (default is 75 columns) π-g,--goal=WIDTHβ goal width (default is 93% of width) π―--helpβ display this help and exit. your lil cheat sheet π«Ά--versionβ output version information and exit. who even are you (version-wise) π
β¨ AUTHOR β¨
Written by Ross Paterson. king behavior, we thank him π
β¨ REPORTING BUGS β¨
found something cursed? tell the devs, not me:
- Report bugs to:
bug-coreutils@gnu.org - GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- General help using GNU software: <https://www.gnu.org/gethelp/>
- Report any translation bugs to <https://translationproject.org/team/>
β¨ SEE ALSO β¨
- Full documentation <https://www.gnu.org/software/coreutils/fmt>
- or available locally via:
info '(coreutils) fmt invocation'
okay and here's the legal-ish part but make it cute: she was Packaged by Ubuntu (9.10-1ubuntu2). Copyright Β© 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. like, none. zero. don't come for her if your paragraphs go rogue π
and that's the whole vibe check, bestie β this was GNU coreutils 9.10, dated August 2026, signing off from the FMT(1) page. go format something pretty. slay. πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms