summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-12-20 11:28:14 +0000
committerJim Meyering <jim@meyering.net>2003-12-20 11:28:14 +0000
commit340b33464a84570e8daff15a7f3816e89e24a296 (patch)
tree22c8569ae63f776cb539ea0a9cdab26dfb8e9f44 /doc/coreutils.texi
parente08866d436caa085c25b253677a5d99aecde0dff (diff)
downloadcoreutils-340b33464a84570e8daff15a7f3816e89e24a296.tar.xz
(du invocation): Describe new option: -0, --null.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi9
1 files changed, 9 insertions, 0 deletions
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