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://www.mail-archive.com/bug-coreutils@gnu.org/msg09713.html

-- 
incorrect result for filenames with backslashes
https://bugs.launchpad.net/bugs/53584
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to