1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

Merge pull request #8236 from cakebaker/docs_add_no_utf8_as_extension

docs: add `-U`/`--no-utf8` as extension of `expand`/`unexpand`
This commit is contained in:
Sylvestre Ledru 2025-06-21 19:44:57 +02:00 committed by GitHub
commit 7b3247d80e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -198,3 +198,9 @@ The number of random passes is deterministic in both GNU and uutils. However, uu
GNU `unexpand` provides `--first-only` to convert only leading sequences of blanks. We support a
second way: `-f` like busybox.
Using `-U`/`--no-utf8`, you can interpret input files as 8-bit ASCII rather than UTF-8.
## `expand`
`expand` also offers the `-U`/`--no-utf8` option to interpret input files as 8-bit ASCII instead of UTF-8.