summaryrefslogtreecommitdiff
path: root/doc
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
parent59e889f0f3e8cce31387e2e03ab9dfcf48b48955 (diff)
downloadcoreutils-826ff082dbe051d3a7a35e36afb110c64b4132e6.tar.xz
* coreutils.texi (md5sum invocation): Document escapes in output
format. Reported by Armijn Hemel.
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/coreutils.texi4
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index c4171b8f4..38b5f9dfd 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-21 Eric Blake <ebb9@byu.net>
+
+ * coreutils.texi (md5sum invocation): Document escapes in output
+ format. Reported by Armijn Hemel.
+
2007-03-15 Paul Eggert <eggert@cs.ucla.edu>
Fix manual in response to bug reports by Dan Jacobson.
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}.