diff --git a/doc/coreutils.texi b/doc/coreutils.texi index d60b62d06..5c14e6cdc 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -8447,6 +8447,15 @@ Show the total for each directory (and file if --all) that is at most MAX_DEPTH levels down from the root of the hierarchy. The root is at level 0, so @code{du --max-depth=0} is equivalent to @code{du -s}. +@item -0 +@opindex -0 +@itemx --null +@opindex --null +@cindex output NUL-terminated lines +Output the zero byte (@kbd{NUL}) at the end of each line, rather than a newline. +This option enables other programs to parse the output of @command{du} +even when that output would contain file names with embedded newlines. + @item -s @itemx --summarize @opindex -s