Skip to content

Bytes

Terminal window
splitby -b [selection...]

Selects raw bytes by position. This is useful for binary or fixed-width data.

Note: You can use --placeholder to guarantee the output’s data width.

Terminal window
printf "abcdef" | splitby -b 2-4
# bcd