Skip to Content
gnux

-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

ShortLongValueDefaultMeaning
-C--check-quietnonelike -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

On this page