--check-order
Check that the input is correctly sorted, even if all input lines are pairable.
An option of joinx.
Usage
joinx --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
Make a script stop if an input was not sorted, rather than miss matches
joinx --check-order a.txt b.txt || echox 'not sorted'Help in the terminal
gnux help joinx --check-order