mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 15:00:07 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/isutf8
10
tldr/isutf8
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# isutf8
|
||||
|
||||
> Check whether text files contain valid UTF-8.
|
||||
> More information: <https://joeyh.name/code/moreutils/>.
|
||||
> More information: <https://manned.org/isutf8>.
|
||||
|
||||
- Check whether the specified files contain valid UTF-8:
|
||||
|
||||
@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Print errors using multiple lines:
|
||||
|
||||
`isutf8 --verbose {{path/to/file1 path/to/file2 ...}}`
|
||||
`isutf8 {{[-v|--verbose]}} {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Do not print anything to `stdout`, indicate the result merely with the exit code:
|
||||
|
||||
`isutf8 --quiet {{path/to/file1 path/to/file2 ...}}`
|
||||
`isutf8 {{[-q|--quiet]}} {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Only print the names of the files containing invalid UTF-8:
|
||||
|
||||
`isutf8 --list {{path/to/file1 path/to/file2 ...}}`
|
||||
`isutf8 {{[-l|--list]}} {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
- Same as `--list` but inverted, i.e., only print the names of the files containing valid UTF-8:
|
||||
|
||||
`isutf8 --invert {{path/to/file1 path/to/file2 ...}}`
|
||||
`isutf8 {{[-i|--invert]}} {{path/to/file1 path/to/file2 ...}}`
|
||||
|
||||
Reference in New Issue
Block a user