Placeholder
Syntax
Section titled “Syntax”splitby --placeholder="<VALUE>" [selection...]The value can be a string or hex bytes like 0x00.
What it does
Section titled “What it does”Normally, invalid selections are skipped. With --placeholder, splitby inserts the provided value instead.
Examples
Section titled “Examples”echo "a,b" | splitby -d "," --placeholder="N/A" 1 4 2# a,N/A,bUsing a hex byte:
echo "a,b" | splitby -d "," --placeholder=0x00 1 4 2Gotchas
Section titled “Gotchas”- An explicit empty placeholder is allowed:
--placeholder="". - If multiple
--placeholderflags are provided, the last value wins.