-z, --zero-terminated
Line delimiter is NUL, not newline.
An option of headx.
Usage
headx -z [FILE]...
headx --zero-terminated [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-z | --zero-terminated | none | line delimiter is NUL, not newline |
Examples
Take the first two entries of a NUL-separated list
find . -name '*.txt' -print0 | headx -z -n 2 | xargs -0 wcx -lHelp in the terminal
gnux help headx --zero-terminated