Skip to Content
gnux

-0, --null

End each output line with NUL, not newline.

An option of printenvx.

Usage

printenvx -0 [VARIABLE]...
printenvx --null [VARIABLE]...

Details

ShortLongValueDefaultMeaning
-0--nullnoneend each output line with NUL, not newline

Examples

printenvx -0 | trx '\0' '\n' | wcx -l

Help in the terminal

gnux help printenvx --null

On this page