Skip to Content
gnux

-z, --zero-terminated

Line delimiter is NUL, not newline.

An option of cutx.

Usage

cutx -z OPTION... [FILE]...
cutx --zero-terminated OPTION... [FILE]...

Details

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

Examples

Process NUL-separated records

cutx -z -d / -f 1 paths.lst

Help in the terminal

gnux help cutx --zero-terminated

On this page