Merge pull request #4748 from cakebaker/docs_document_fmt_in_gnu_extensions

docs: document fmt in GNU extensions
This commit is contained in:
Sylvestre Ledru 2023-04-21 09:34:26 +02:00 committed by GitHub
commit 20a1ed735d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.