Options (4)
-v, --verbosebooleanPrint errors using multiple lines
Example:
isutf8 {{[-v|--verbose]}} {{path/to/file1 path/to/file2 ...}}-q, --quietbooleanDo not print anything to `stdout`, indicate the result merely with the exit code
Example:
isutf8 {{[-q|--quiet]}} {{path/to/file1 path/to/file2 ...}}-l, --listbooleanOnly print the names of the files containing invalid UTF-8
Example:
isutf8 {{[-l|--list]}} {{path/to/file1 path/to/file2 ...}}-i, --invertbooleanSame as `--list` but inverted, i.e., only print the names of the files containing valid UTF-8
Example:
isutf8 {{[-i|--invert]}} {{path/to/file1 path/to/file2 ...}}Examples (5)
Check whether the specified files contain valid UTF-8
isutf8 path/to/file1 path/to/file2 ...Print errors using multiple lines
isutf8 [-v|--verbose] path/to/file1 path/to/file2 ...Do not print anything to `stdout`, indicate the result merely with the exit code
isutf8 [-q|--quiet] path/to/file1 path/to/file2 ...Only print the names of the files containing invalid UTF-8
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 [-i|--invert] path/to/file1 path/to/file2 ...made by @shridhargupta | data from tldr-pages