fmt(1)

πŸ“¦
version 0.7.0 Β· 3 versions
, in epel 10, fedora 43, fedora 44

πŸ’– fmt(1) β€” the general commands manual page, but make it cute πŸ’–

okay bestie, pull up a chair πŸͺ‘ because this one is genuinely one of my faves. it's fmt, from the General Commands Manual section of your friendly neighbourhood uutils coreutils β€” she reformats your messy little paragraphs and sends them straight to stdout. no drama, no chaos, just vibes. ✨


🌸 NAME 🌸

fmt β€” Reformat paragraphs from input (or standard input) to stdout. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

fmt [-c|--crown-margin] [-t|--tagged-paragraph] [-m|--preserve-headers]
[-s|--split-only] [-u|--uniform-spacing] [-p|--prefix]
[-P|--skip-prefix] [-x|--exact-prefix] [-X|--exact-skip-prefix]
[-w|--width] [-g|--goal] [-q|--quick] [-T|--tab-width] [-h|--help]
[-V|--version] [FILES]

like, that's the whole girl right there. take a sec. πŸ‘‘


🌈 DESCRIPTION 🌈

Reformat paragraphs from input (or standard input) to stdout. πŸ’…

that's it. that's the job. she takes your paragraphs β€” from a file or from stdin β€” and rewrites them all pretty and reflowed into stdout. no cap.


✨ OPTIONS ✨

so many flags, so little time. every single one of them, coming right up:

  • -c, --crown-margin β€” the first and second line of a paragraph are allowed to have different indentations, and if they do, the first line's indentation gets preserved and every line after that matches the second line's indentation. crown-margin said "I contain multitudes" πŸ‘‘
  • -t, --tagged-paragraph β€” like -c, except the first and second line of a paragraph must have different indentation, or they get treated as separate paragraphs. she's strict like that. 🚨
  • -m, --preserve-headers β€” she'll attempt to detect and preserve mail headers in the input. be careful when combining this flag with -p. ⚠️
  • -s, --split-only β€” split lines only. do not reflow. simple, clean, minimal. 🧚
  • -u, --uniform-spacing β€” insert exactly one space between words, and two between sentences. sentence breaks in the input get detected as [?!.] followed by two spaces or a newline; other punctuation is not interpreted as a sentence break. iykyk. πŸ”
  • -p, --prefix <PREFIX> β€” reformat only lines beginning with PREFIX, then reattach PREFIX to the reformatted lines. unless -x is specified, leading whitespace gets ignored when matching PREFIX. πŸŽ€
  • -P, --skip-prefix <PSKIP> β€” do not reformat lines beginning with PSKIP. unless -X is specified, leading whitespace gets ignored when matching PSKIP. πŸ™ˆ
  • -x, --exact-prefix β€” PREFIX must match at the beginning of the line with no preceding whitespace. exact girl, no negotiating. πŸ’…
  • -X, --exact-skip-prefix β€” PSKIP must match at the beginning of the line with no preceding whitespace. same energy, different flag. πŸ’…
  • -w, --width <WIDTH> β€” fill output lines up to a maximum of WIDTH columns, default 75. this can be specified as a negative number in the first argument. πŸ“
  • -g, --goal <GOAL> β€” goal width, default of 93% of WIDTH. must be less than or equal to WIDTH. like, she has dreams but she stays realistic. ✨
  • -q, --quick β€” break lines more quickly, at the expense of a potentially more ragged appearance. she's rushing, she's got places to be. πŸƒβ€β™€οΈ
  • -T, --tab-width <TABWIDTH> β€” treat tabs as TABWIDTH spaces for determining line length, default 8. note that this is used only for calculating line lengths; tabs are preserved in the output. 🫢
  • -h, --help β€” Print help. πŸ†˜
  • -V, --version β€” Print version. 🏷️
  • [FILES] β€” the files, bestie. the actual things you want her to read. πŸ“

πŸŽ€ VERSION πŸŽ€

v(uutils coreutils) 0.7.0

okay that's the whole page!! 🫢 you now know fmt better than most people know their own wifi password. go forth and reflow, bestie. πŸ’–

reminder: every default, every detection rule, every "must" and "do not" up there is load-bearing. don't skip them, don't guess at them, just use them. πŸ”₯

and that's a wrap on this little fmt (uutils coreutils) 0.7.0 situation β€” uutils coreutils 0.7.0, babes, she's iconic and she's free πŸ’œβœ¨ slay, mwah, bye bestie πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from
  • epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
  • epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
  • fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
  • fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms