Skip to Content
gnux

-z, --zero

End each output line with NUL, not newline.

An option of basenamex.

Usage

basenamex -z NAME [SUFFIX]
basenamex --zero NAME [SUFFIX]

Details

ShortLongValueDefaultMeaning
-z--zerononeend each output line with NUL, not newline

Examples

Separate the output with NUL bytes instead of newlines

basenamex -a -z a/b c/d | od -c

Help in the terminal

gnux help basenamex --zero

On this page