3 ms·
At least for print0 I can answer. It delimits the output with zero chars instead of spaces. That is useful if you process the output with xargs (add '-0' there,
by jeffreygoesto 3y ago
At least for print0 I can answer. It delimits the output with zero chars instead of spaces. That is useful if you process the output with xargs (add '-0' there, see help text or man page). If your file or directory names contain spaces, they will stay together with the zero delimiter, whereas without they would be split into pieces abd xargs does not see valid file names. In a directory containing files with spaces, try both
find . -type f | xargs ls -1
find . -type f -print0| xargs -0 ls -1