docs: document fmt in GNU extensions

This commit is contained in:
Daniel Hofstetter 2023-04-18 16:42:46 +02:00
parent e734be6775
commit 4a96feb36b

View file

@ -43,3 +43,10 @@ therefore welcomed.
`cut` can separate fields by whitespace (Space and Tab) with `-w` flag. This
feature is adopted from [FreeBSD](https://www.freebsd.org/cgi/man.cgi?cut).
## `fmt`
`fmt` has additional flags for prefixes: `-P/--skip-prefix`, `-x/--exact-prefix`, and
`-X/--exact-skip-prefix`. With `-m/--preserve-headers`, an attempt is made to detect and preserve
mail headers in the input. `-q/--quick` breaks lines more quickly. And `-T/--tab-width` defines the
number of spaces representing a tab when determining the line length.