GNU bug report logs - #41657
md5sum: odd escaping for input filename \

Previous Next

Package: coreutils;

Reported by: Michael Coleman <mcolema5 <at> uoregon.edu>

Date: Tue, 2 Jun 2020 02:48:02 UTC

Severity: normal

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Coleman <mcolema5 <at> uoregon.edu>
To: 41657 <at> debbugs.gnu.org
Subject: bug#41657: md5sum: odd escaping for input filename \
Date: Tue, 2 Jun 2020 02:17:13 +0000
[Message part 1 (text/plain, inline)]
Apologies if this has already been fixed, but glancing at the source, probably not.

For version 8.22:

$ true > \\
$ md5sum \\
\d41d8cd98f00b204e9800998ecf8427e  \\
$ md5sum < \\
d41d8cd98f00b204e9800998ecf8427e  -

The checksum is not what I would expect, due to the leading backslash.  And in any case, the "\d" has no obvious interpretation.  Really, I can't imagine ever escaping the checksum.

(Yes, my users are a clever people.)

Cheers,
Mike

Michael Coleman (mcolema5 <at> uoregon.edu<mailto:mcolema5 <at> uoregon.edu>)
Computational Scientist
Research Advanced Computing Services
University of Oregon


[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.