| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH FMT "1" "February 2026" "GNU coreutils 9.10" "User Commands" |
| 3 |
.SH NAME |
| 4 |
fmt \- simple optimal text formatter |
| 5 |
.SH SYNOPSIS |
| 6 |
.B fmt |
| 7 |
[\fI\,-WIDTH\/\fR] [\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]... |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Reformat each paragraph in the FILE(s), writing to standard output. |
| 12 |
The option \fB\-WIDTH\fR is an abbreviated form of \fB\-\-width\fR=\fI\,DIGITS\/\fR. |
| 13 |
.PP |
| 14 |
With no FILE, or when FILE is \-, read standard input. |
| 15 |
.PP |
| 16 |
Mandatory arguments to long options are mandatory for short options too. |
| 17 |
.TP |
| 18 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#fmt-c'\fB\-c, \-\-crown\-margin\fP\X'tty: link' |
| 19 |
preserve indentation of first two lines |
| 20 |
.TP |
| 21 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#fmt-p'\fB\-p, \-\-prefix=\,STRING\fP\X'tty: link'\/\fR |
| 22 |
reformat only lines beginning with STRING, |
| 23 |
reattaching the prefix to reformatted lines |
| 24 |
.TP |
| 25 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#fmt-s'\fB\-s, \-\-split\-only\fP\X'tty: link' |
| 26 |
split long lines, but do not refill |
| 27 |
.TP |
| 28 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#fmt-t'\fB\-t, \-\-tagged\-paragraph\fP\X'tty: link' |
| 29 |
indentation of first line different from second |
| 30 |
.TP |
| 31 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#fmt-u'\fB\-u, \-\-uniform\-spacing\fP\X'tty: link' |
| 32 |
one space between words, two after sentences |
| 33 |
.TP |
| 34 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#fmt-w'\fB\-w, \-\-width=\,WIDTH\fP\X'tty: link'\/\fR |
| 35 |
maximum line width (default of 75 columns) |
| 36 |
.TP |
| 37 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#fmt-g'\fB\-g, \-\-goal=\,WIDTH\fP\X'tty: link'\/\fR |
| 38 |
goal width (default of 93% of width) |
| 39 |
.TP |
| 40 |
\X'tty: link https://www.gnu.org/software/coreutils/fmt#fmt--help'\fB\-\-help\fP\X'tty: link' |
| 41 |
display this help and exit |
| 42 |
.TP |
| 43 |
\X'tty: link https://www.gnu.org/software/coreutils/fmt#fmt--version'\fB\-\-version\fP\X'tty: link' |
| 44 |
output version information and exit |
| 45 |
.SH AUTHOR |
| 46 |
Written by Ross Paterson. |
| 47 |
.SH "REPORTING BUGS" |
| 48 |
Report bugs to: bug\[email protected] |
| 49 |
.br |
| 50 |
GNU coreutils home page: <https://www.gnu.org/software/coreutils/> |
| 51 |
.br |
| 52 |
General help using GNU software: <https://www.gnu.org/gethelp/> |
| 53 |
.br |
| 54 |
Report any translation bugs to <https://translationproject.org/team/> |
| 55 |
.SH "SEE ALSO" |
| 56 |
Full documentation <https://www.gnu.org/software/coreutils/fmt> |
| 57 |
.br |
| 58 |
or available locally via: info \(aq(coreutils) fmt invocation\(aq |
| 59 |
.PP |
| 60 |
.br |
| 61 |
Packaged by Debian (9.10\-1) |
| 62 |
.br |
| 63 |
Copyright \(co 2026 Free Software Foundation, Inc. |
| 64 |
.br |
| 65 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 66 |
.br |
| 67 |
This is free software: you are free to change and redistribute it. |
| 68 |
.br |
| 69 |
There is NO WARRANTY, to the extent permitted by law. |