-z, --zero-terminated
Line delimiter is NUL, not newline.
An option of shufx.
Usage
shufx -z [FILE]
shufx --zero-terminated [FILE]Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-z | --zero-terminated | none | line delimiter is NUL, not newline |
Examples
Pick a random file from a NUL-separated list
find . -type f -print0 | shufx -z -n 1Help in the terminal
gnux help shufx --zero-terminated