-0, --null
End each output line with NUL, not newline.
An option of printenvx.
Usage
printenvx -0 [VARIABLE]...
printenvx --null [VARIABLE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-0 | --null | none | end each output line with NUL, not newline |
Examples
Print the environment NUL-separated
printenvx -0 | trx '\0' '\n' | wcx -lHelp in the terminal
gnux help printenvx --null