Skip to content

Strict bounds

Terminal window
splitby --strict-bounds [selection...]
splitby --no-strict-bounds [selection...]

When enabled, out-of-range selections become errors instead of silently clamping or skipping.

Terminal window
echo "a b" | splitby -d " " --strict-bounds 5
# strict bounds error: index (5) out of bounds, must be between 1 and 2