Skip to content

Strict range order

Terminal window
splitby --strict-range-order [selection...]
splitby --no-strict-range-order [selection...]

When enabled, ranges like 3-1 are errors instead of silently ignored.

This mode is on by default.

Terminal window
echo "a b" | splitby -d " " 2-1
# strict-range-order error: end index (1) is less than start index (2) in selection 2-1
echo "a b" | splitby -d " " --no-strict-range-order 2-1
# (no output, no error)