--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 FILE2Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--check-order | none | check 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