Skip to Content
gnux

-z, --zero-terminated

Line delimiter is NUL, not newline.

An option of sortx.

Usage

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

Details

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

Examples

Sort a NUL-separated list of file names

find . -print0 | sortx -z

Help in the terminal

gnux help sortx --zero-terminated

On this page