Forrest logo
back to context overview

fmt

List of commands for fmt:

  • fmt:tldr:53655 fmt: Reformat a file.
    $ fmt ${filename}
    try on your machine
    explain this command
  • fmt:tldr:bcc2d fmt: Reformat a file producing output lines of (at most) `n` characters.
    $ fmt -w ${n} ${filename}
    try on your machine
    explain this command
  • fmt:tldr:c42be fmt: Reformat a file without joining lines shorter than the given width together.
    $ fmt -s ${filename}
    try on your machine
    explain this command
  • fmt:tldr:d9026 fmt: Reformat a file with uniform spacing (1 space between words and 2 spaces between paragraphs).
    $ fmt -u ${filename}
    try on your machine
    explain this command
back to context overview