-C, --check-quiet
Like -c, but do not report first bad line.
An option of sortx.
Usage
sortx -C [FILE]...
sortx --check-quiet [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-C | --check-quiet | none | like -c, but do not report first bad line |
Examples
Fail a script when a file is not sorted (exit status 1)
sortx -C names.txt || echox 'names.txt is not sorted'Help in the terminal
gnux help sortx --check-quiet