1FMT(1)                           User Commands                          FMT(1)
2
3
4

NAME

6       fmt - simple optimal text formatter
7

SYNOPSIS

9       fmt [-WIDTH] [OPTION]... [FILE]...
10

DESCRIPTION

12       Reformat  each  paragraph  in  the FILE(s), writing to standard output.
13       The option -WIDTH is an abbreviated form of --width=DIGITS.
14
15       With no FILE, or when FILE is -, read standard input.
16
17       Mandatory arguments to long options are  mandatory  for  short  options
18       too.
19
20       -c, --crown-margin
21              preserve indentation of first two lines
22
23       -p, --prefix=STRING
24              reformat  only lines beginning with STRING, reattaching the pre‐
25              fix to reformatted lines
26
27       -s, --split-only
28              split long lines, but do not refill
29
30       -t, --tagged-paragraph
31              indentation of first line different from second
32
33       -u, --uniform-spacing
34              one space between words, two after sentences
35
36       -w, --width=WIDTH
37              maximum line width (default of 75 columns)
38
39       -g, --goal=WIDTH
40              goal width (default of 93% of width)
41
42       --help display this help and exit
43
44       --version
45              output version information and exit
46

AUTHOR

48       Written by Ross Paterson.
49

REPORTING BUGS

51       GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
52       Report any translation bugs to <https://translationproject.org/team/>
53
55       Copyright © 2022 Free Software Foundation, Inc.   License  GPLv3+:  GNU
56       GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
57       This  is  free  software:  you  are free to change and redistribute it.
58       There is NO WARRANTY, to the extent permitted by law.
59

SEE ALSO

61       Full documentation <https://www.gnu.org/software/coreutils/fmt>
62       or available locally via: info '(coreutils) fmt invocation'
63
64
65
66GNU coreutils 9.1                January 2023                           FMT(1)
Impressum