Skip to Content
gnux

--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 FILE2

Details

ShortLongValueDefaultMeaning
--check-ordernonecheck 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

On this page