Skip to Content
gnux

--check-order

Check that the input is correctly sorted, even if all input lines are pairable.

An option of commx.

Usage

commx --check-order FILE1 FILE2

Details

ShortLongValueDefaultMeaning
--check-ordernonecheck that the input is correctly sorted, even if all input lines are pairable

Examples

Fail at the first line out of order

commx --check-order old.txt new.txt || echox 'not sorted'

Help in the terminal

gnux help commx --check-order

On this page