Comment 3 for bug 53584

Revision history for this message
Micah Cowan (micahcowan) wrote : Re: incorrect result for filenames with backslashes

Okay.... /not/ a bug, apparently. The source-code for md5sum contains:

              /* Output a leading backslash if the file name contains
                 a newline or backslash. */
              if (strchr (file, '\n') || strchr (file, '\\'))
                putchar ('\\');

So, apparently, this is by design.

However, neither the manpage nor the infopage mentions this at all, so I would consider this a documentation bug, definitely.

It looks like the documentation has been fixed in CVS and at least the latest release, 6.9.

See http://<email address hidden>/msg09713.html