Skip to Content
gnux

-t, --separator

Use SEP instead of newline as the record separator; '\0' (zero) specifies the NUL character.

An option of splitx.

Usage

splitx -t SEP [FILE [PREFIX]]
splitx --separator=SEP [FILE [PREFIX]]

Details

ShortLongValueDefaultMeaning
-t--separatorSEPuse SEP instead of newline as the record separator; '\0' (zero) specifies the NUL character

Examples

Split NUL-separated records, such as the output of find -print0

find . -type f -print0 | splitx -t '\0' -l 1000 - batch-

Help in the terminal

gnux help splitx --separator

On this page