From 340b33464a84570e8daff15a7f3816e89e24a296 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 20 Dec 2003 11:28:14 +0000 Subject: [PATCH] (du invocation): Describe new option: -0, --null. --- doc/coreutils.texi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index d60b62d060..5c14e6cdc3 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 -- 2.47.2