summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2007-03-22 21:46:54 +0100
committerJim Meyering <jim@meyering.net>2007-03-22 21:46:54 +0100
commit826ff082dbe051d3a7a35e36afb110c64b4132e6 (patch)
tree9e23a89dc4cfb1153f95c6b1fd688fe9248ddce0 /doc/coreutils.texi
parent59e889f0f3e8cce31387e2e03ab9dfcf48b48955 (diff)
downloadcoreutils-826ff082dbe051d3a7a35e36afb110c64b4132e6.tar.xz
* coreutils.texi (md5sum invocation): Document escapes in output
format. Reported by Armijn Hemel.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 7a4cc2db0..588147f53 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -3203,6 +3203,10 @@ md5sum [@var{option}]@dots{} [@var{file}]@dots{}
For each @var{file}, @samp{md5sum} outputs the MD5 checksum, a flag
indicating a binary or text input file, and the file name.
+If @var{file} contains a backslash or newline, the
+line is started with a backslash, and each problematic character in
+the file name is escaped with a backslash, making the output
+unambiguous even in the presence of arbitrary file names.
If @var{file} is omitted or specified as @samp{-}, standard input is read.
The program accepts the following options. Also see @ref{Common options}.