Skip to Content
gnux

-z, --zero-terminated

Line delimiter is NUL, not newline.

An option of shufx.

Usage

shufx -z [FILE]
shufx --zero-terminated [FILE]

Details

ShortLongValueDefaultMeaning
-z--zero-terminatednoneline delimiter is NUL, not newline

Examples

Pick a random file from a NUL-separated list

find . -type f -print0 | shufx -z -n 1

Help in the terminal

gnux help shufx --zero-terminated

On this page