Skip to Content
gnux

-z, --zero-terminated

Line delimiter is NUL, not newline.

An option of tailx.

Usage

tailx -z [FILE]...
tailx --zero-terminated [FILE]...

Details

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

Examples

Print the last entry of a NUL-separated list

tailx -z -n 1 names.lst | xargs -0 echox

Help in the terminal

gnux help tailx --zero-terminated

On this page