| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH FMT "1" "June 2025" "GNU coreutils 9.7" "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 |
\fB\-c\fR, \fB\-\-crown\-margin\fR |
| 19 |
preserve indentation of first two lines |
| 20 |
.TP |
| 21 |
\fB\-p\fR, \fB\-\-prefix\fR=\fI\,STRING\/\fR |
| 22 |
reformat only lines beginning with STRING, |
| 23 |
reattaching the prefix to reformatted lines |
| 24 |
.TP |
| 25 |
\fB\-s\fR, \fB\-\-split\-only\fR |
| 26 |
split long lines, but do not refill |
| 27 |
.TP |
| 28 |
\fB\-t\fR, \fB\-\-tagged\-paragraph\fR |
| 29 |
indentation of first line different from second |
| 30 |
.TP |
| 31 |
\fB\-u\fR, \fB\-\-uniform\-spacing\fR |
| 32 |
one space between words, two after sentences |
| 33 |
.TP |
| 34 |
\fB\-w\fR, \fB\-\-width\fR=\fI\,WIDTH\/\fR |
| 35 |
maximum line width (default of 75 columns) |
| 36 |
.TP |
| 37 |
\fB\-g\fR, \fB\-\-goal\fR=\fI\,WIDTH\/\fR |
| 38 |
goal width (default of 93% of width) |
| 39 |
.TP |
| 40 |
\fB\-\-help\fR |
| 41 |
display this help and exit |
| 42 |
.TP |
| 43 |
\fB\-\-version\fR |
| 44 |
output version information and exit |
| 45 |
.SH AUTHOR |
| 46 |
Written by Ross Paterson. |
| 47 |
.SH "REPORTING BUGS" |
| 48 |
GNU coreutils online help: <https://www.gnu.org/software/coreutils/> |
| 49 |
.br |
| 50 |
Report any translation bugs to <https://translationproject.org/team/> |
| 51 |
.SH "SEE ALSO" |
| 52 |
Full documentation <https://www.gnu.org/software/coreutils/fmt> |
| 53 |
.br |
| 54 |
or available locally via: info \(aq(coreutils) fmt invocation\(aq |
| 55 |
.PP |
| 56 |
.br |
| 57 |
Packaged by Debian (9.7\-3) |
| 58 |
.br |
| 59 |
Copyright \(co 2025 Free Software Foundation, Inc. |
| 60 |
.br |
| 61 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 62 |
.br |
| 63 |
This is free software: you are free to change and redistribute it. |
| 64 |
.br |
| 65 |
There is NO WARRANTY, to the extent permitted by law. |