GNU bug report logs -
#11383
[md5sum] bug on filename with a backslash
Previous Next
Reported by: CAOBA Support team <support <at> caoba.fr>
Date: Mon, 30 Apr 2012 16:07:01 UTC
Severity: normal
Tags: notabug
Done: Eric Blake <eblake <at> redhat.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11383 in the body.
You can then email your comments to 11383 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#11383
; Package
coreutils
.
(Mon, 30 Apr 2012 16:07:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
CAOBA Support team <support <at> caoba.fr>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Mon, 30 Apr 2012 16:07:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi there,
I found what I think is a bug in the *md5sum* command.
When used on a filename with a backslah, the output doesn't look quite the
same as usual:
# ls -l /tmp/file1 '/tmp/file\2'
-rw-r--r-- 1 root root 2 2012-04-30 17:05 /tmp/file1
-rw-r--r-- 1 root root 2 2012-04-30 17:05 /tmp/file\2
# md5sum /tmp/file1 '/tmp/file\2'
60b725f10c9c85c70d97880dfe8191b3 /tmp/file1
\3b5d5c3712955042212316173ccf37be /tmp/file\\2
Hope this helps
-------------------------
*Santiago DIEZ*
*Director
*CAOBA Support team
-------------------------
<http://www.google.com/url?q=http%3A%2F%2Flinks.quark-systems.com%2Flogo_140&sa=D&sntz=1&usg=AFrqEzcreE51XSfxWvFFl-a-17lBP-kzGA>
<http://www.google.com/url?q=http%3A%2F%2Fsantiago.news.free.fr%2Flogo.png&sa=D&sntz=1&usg=AFrqEzfmW2Io3OI5IqEGiVeDRebZgD4TaQ>
-------------------------
*Quark Systems & CAOBA*
*23 rue du Buisson Saint-Louis, 75010 Paris*
-------------------------
[Message part 2 (text/html, inline)]
Added tag(s) notabug.
Request was from
Eric Blake <eblake <at> redhat.com>
to
control <at> debbugs.gnu.org
.
(Mon, 30 Apr 2012 17:37:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Eric Blake <eblake <at> redhat.com>
:
You have taken responsibility.
(Mon, 30 Apr 2012 17:37:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
CAOBA Support team <support <at> caoba.fr>
:
bug acknowledged by developer.
(Mon, 30 Apr 2012 17:37:03 GMT)
Full text and
rfc822 format available.
Message #12 received at 11383-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
tag 11383 notabug
thanks
On 04/30/2012 09:34 AM, CAOBA Support team wrote:
> Hi there,
>
> I found what I think is a bug in the *md5sum* command.
>
> When used on a filename with a backslah, the output doesn't look quite the
> same as usual:
>
> # ls -l /tmp/file1 '/tmp/file\2'
> -rw-r--r-- 1 root root 2 2012-04-30 17:05 /tmp/file1
> -rw-r--r-- 1 root root 2 2012-04-30 17:05 /tmp/file\2
> # md5sum /tmp/file1 '/tmp/file\2'
> 60b725f10c9c85c70d97880dfe8191b3 /tmp/file1
> \3b5d5c3712955042212316173ccf37be /tmp/file\\2
Thanks for the report. However, this is not a bug, but intentional
behavior. It allows us to encode filenames with newlines in them using
a \n sequence, but to use \ as an escape character, \ also has to escape
itself.
--
Eric Blake eblake <at> redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[signature.asc (application/pgp-signature, attachment)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 29 May 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 25 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.