FMT(1)
๐ FMT(1) ๐
okay so bestie, welcome to fmt โ she's literally the simple optimal text formatter and she's about to make your paragraphs look โจimmaculateโจ. no cap.
๐ธ NAME ๐ธ
fmt โ simple optimal text formatter ๐
โจ SYNOPSIS โจ
fmt [-WIDTH] [OPTION]... [FILE]...
๐ฆ DESCRIPTION ๐ฆ
So what she does is: she reformats each paragraph in the FILE(s) and writes it all out to standard output. glow up for your text, fr fr. ๐
Little shortcut moment: the option -WIDTH is just an abbreviated form of --width=DIGITS. iykyk.
If you give her no FILE at all, or if FILE is literally just -, she reads from standard input instead. shy but flexible ๐
โ ๏ธ bestie pls remember: mandatory arguments to long options are also mandatory for the short options. no skipping, she will not let you.
๐ OPTIONS ๐
-c,--crown-marginโ preserves the indentation of the first two lines. crown stays on, queen behavior ๐-p,--prefix=STRINGโ only reformats the lines that begin withSTRING, and then reattaches that prefix onto the reformatted lines. selective formatting, she's got taste โจ-s,--split-onlyโ splits the long lines but does not refill them. just a little trim, no full makeover ๐-t,--tagged-paragraphโ indentation of the first line is different from the second. tagged, not bagged ๐ท๏ธ-u,--uniform-spacingโ one space between words, two after sentences. uniform, consistent, organized, we love a tidy queen ๐-w,--width=WIDTHโ maximum line width, with a default of75columns. this is the ceiling, babe ๐-g,--goal=WIDTHโ goal width, defaulting to93%of width. a soft little target, aspirational ๐ซ--helpโ displays this help and exits. when u need the tea ๐ต--versionโ outputs version information and exits. identity check ๐ชช
๐ AUTHOR ๐
Written by Ross Paterson. king behavior, we stan ๐ซถ
๐ญ REPORTING BUGS ๐ญ
Found a bug? don't just suffer in silence bestie, tell the people:
- Report bugs to: <bug-coreutils@gnu.org>.
- Report any translation bugs to: <https://translationproject.org/team/>.
- GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- General help using GNU software: <https://www.gnu.org/gethelp/>
๐ COPYRIGHT ๐
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. (yes that's all caps in the original, she's serious about this one ๐)
โญ SEE ALSO โญ
- Full documentation <https://www.gnu.org/software/coreutils/fmt>
- or available locally via:
info '(coreutils) fmt invocation'
and that's the whole vibe, bestie ๐ go forth and format. this was GNU coreutils 9.12, from September 2026 โ slay, periodt โจ๐๐ฆ
๐ฆ where this page comes from
- arch rolling: coreutils 9.12-2 ยท GPL-3.0-or-later AND GFDL-1.3-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms