From 826ff082dbe051d3a7a35e36afb110c64b4132e6 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 22 Mar 2007 21:46:54 +0100 Subject: [PATCH] * coreutils.texi (md5sum invocation): Document escapes in output format. Reported by Armijn Hemel. --- doc/ChangeLog | 5 +++++ doc/coreutils.texi | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/doc/ChangeLog b/doc/ChangeLog index c4171b8f4a..38b5f9dfdc 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2007-03-21 Eric Blake + + * coreutils.texi (md5sum invocation): Document escapes in output + format. Reported by Armijn Hemel. + 2007-03-15 Paul Eggert Fix manual in response to bug reports by Dan Jacobson. diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 7a4cc2db06..588147f532 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}. -- 2.47.2