emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#11383: closed ([md5sum] bug on filename with a bac


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#11383: closed ([md5sum] bug on filename with a backslash)
Date: Mon, 30 Apr 2012 17:37:02 +0000

Your message dated Mon, 30 Apr 2012 11:34:47 -0600
with message-id <address@hidden>
and subject line Re: bug#11383: [md5sum] bug on filename with a backslash
has caused the debbugs.gnu.org bug report #11383,
regarding [md5sum] bug on filename with a backslash
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
11383: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11383
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [md5sum] bug on filename with a backslash Date: Mon, 30 Apr 2012 17:34:45 +0200 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
-------------------------

-------------------------
Quark Systems & CAOBA
23 rue du Buisson Saint-Louis, 75010 Paris
-------------------------


--- End Message ---
--- Begin Message --- Subject: Re: bug#11383: [md5sum] bug on filename with a backslash Date: Mon, 30 Apr 2012 11:34:47 -0600 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1
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   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]