From unknown Sun Jun 22 00:14:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11383: [md5sum] bug on filename with a backslash Resent-From: CAOBA Support team Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 30 Apr 2012 16:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11383 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 11383@debbugs.gnu.org, support@caoba.fr X-Debbugs-Original-To: bug-coreutils@gnu.org, CAOBA Support team Received: via spool by submit@debbugs.gnu.org id=B.133580196820503 (code B ref -1); Mon, 30 Apr 2012 16:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Apr 2012 16:06:08 +0000 Received: from localhost ([127.0.0.1]:59095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOt6y-0005KZ-Qg for submit@debbugs.gnu.org; Mon, 30 Apr 2012 12:06:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35555) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOsef-0004gP-3u for submit@debbugs.gnu.org; Mon, 30 Apr 2012 11:36:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOsdA-0007oV-3a for submit@debbugs.gnu.org; Mon, 30 Apr 2012 11:35:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, HTML_IMAGE_ONLY_20, HTML_MESSAGE, HTML_SHORT_LINK_IMG_3, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_REMOTE_IMAGE autolearn=ham version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOsd9-0007oL-Tu for submit@debbugs.gnu.org; Mon, 30 Apr 2012 11:35:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOsd8-0007xT-4r for bug-coreutils@gnu.org; Mon, 30 Apr 2012 11:35:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOsd2-0007lf-Ve for bug-coreutils@gnu.org; Mon, 30 Apr 2012 11:35:13 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:55543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOsd2-0007k3-HA for bug-coreutils@gnu.org; Mon, 30 Apr 2012 11:35:08 -0400 Received: by vcbfy7 with SMTP id fy7so2637051vcb.0 for ; Mon, 30 Apr 2012 08:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=caoba.fr; s=google; h=mime-version:from:date:message-id:subject:to:content-type; bh=V+ed+b7/j/qbMfVd2gB7k5tn/0h0Pl5DfgvYYu25gwA=; b=FWxbZDKswkbmJ8Qekr5UsGeoJfezxW3Pk2GJRxznAS/ogyskqfdCp+qSRGAZMs0Zp1 e9HBsDvXCRKnZ1KwGANw8yljiFBh/xmjfpN4svo6IM2w6qqvdNQ0xAXpmM2fuESe43E5 di2GAgO+wSV0V9ZaFdKuHPbMcngeHXC/JiHTU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=V+ed+b7/j/qbMfVd2gB7k5tn/0h0Pl5DfgvYYu25gwA=; b=mvwHDphy5Ne2meWb6FwHQxoZR0qcts1Dwryg1TYLwFQ864N14pl1Z4f1I3b6uxN0Sg wN43+KVqojabj2gWSOIwfKvME91me0xJuTY3TymMuSp6V0wVhaekcEgPPRKZ0xKVAThN SvKCB0Bf7KzdxQDks7JBGM+KwTF9srD1GiMxAla/FR8CioFN+63fbjb/4VjkP/osvWcV zy4hQ0d1kkkOyDutp4i2vQn6gDaWT6lWPhb/GFZIYxQmH2wiJ4+pZoq9kOpHEX1xfUFJ c9L7bQamQIelgYoWj7RsYgOegg/9IE5gVuX1/lD1TOQgd8e9Q7KL/vMZD5FuPjP2Up7e EVaA== Received: by 10.220.241.12 with SMTP id lc12mr4789185vcb.22.1335800105505; Mon, 30 Apr 2012 08:35:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.172.166 with HTTP; Mon, 30 Apr 2012 08:34:45 -0700 (PDT) From: CAOBA Support team Date: Mon, 30 Apr 2012 17:34:45 +0200 Message-ID: Content-Type: multipart/alternative; boundary=14dae9cfc826c7931804bee73268 X-Gm-Message-State: ALoCoQlHqovOiVXJpJqCnmdwJqK+9qSBWB5kHhovP1je2w0dHvViZsPH/nnqkqlu0x2dIE7YfPv2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -5.2 (-----) X-Mailman-Approved-At: Mon, 30 Apr 2012 12:06:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) --14dae9cfc826c7931804bee73268 Content-Type: text/plain; charset=ISO-8859-1 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* ------------------------- --14dae9cfc826c7931804bee73268 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 lo= ok 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/file= 1 '/tmp/file\2'
60b725f10c9c85c70d97880dfe8191b3=A0 /tmp/fi= le1
\3b5d5c3712955042212316173ccf37be=A0 /tmp/= file\\2

Hope this helps
-------------------------
Santiago DIEZ
Director
CAOBA Support team
-------------------------
=
-------------------------
Quark Systems & CAOBA
23 rue du Buisson Saint-Louis, 75010 Paris
-------------------------

--14dae9cfc826c7931804bee73268-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 30 13:36:26 2012 Received: (at control) by debbugs.gnu.org; 30 Apr 2012 17:36:26 +0000 Received: from localhost ([127.0.0.1]:59180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOuWQ-0007Pn-3l for submit@debbugs.gnu.org; Mon, 30 Apr 2012 13:36:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19876) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOuWK-0007PT-G2; Mon, 30 Apr 2012 13:36:22 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3UHYrf8006616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 30 Apr 2012 13:34:53 -0400 Received: from [10.3.113.89] (ovpn-113-89.phx2.redhat.com [10.3.113.89]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3UHYqD3018107; Mon, 30 Apr 2012 13:34:53 -0400 Message-ID: <4F9ECD37.60702@redhat.com> Date: Mon, 30 Apr 2012 11:34:47 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: CAOBA Support team Subject: Re: bug#11383: [md5sum] bug on filename with a backslash References: In-Reply-To: X-Enigmail-Version: 1.4.1 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig913D87F60DC4812576709F5D" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control Cc: 11383-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig913D87F60DC4812576709F5D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable tag 11383 notabug thanks On 04/30/2012 09:34 AM, CAOBA Support team wrote: > Hi there, >=20 > I found what I think is a bug in the *md5sum* command. >=20 > When used on a filename with a backslah, the output doesn't look quite = the > same as usual: >=20 > # 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. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig913D87F60DC4812576709F5D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJPns08AAoJEKeha0olJ0NqalgIAIbFPtnoANKWzOPMqP75tDXM j1kOtPPJ/n70ZGpAAIjwbpuDO1Jv+XeFv///VeoEK4JtVLwtFGE2k9jvGaz85e35 tjo4yN24i3rVUBSF2GKQCZif2Kclv9DgFbxAyET7hOM9yRwd08eyqlLygb9QY5el j1VwNQbBGr7W7tHK+nw90UH6UDkM0eyxNAk2kA1BOpCno7fnpH0VojflbxovSbHS +mrvDnvXxFr8q1/tIqEDWuHVi593hUjeQ/vThyrQ93OO2vI1f+3wTPqejUfwGQ8E vywgGxq74aujHq2yFiA4jMmuoMumOE8z7nFDTplCFg3U3zWyVSXgvWc3z6o3mZ4= =2kPV -----END PGP SIGNATURE----- --------------enig913D87F60DC4812576709F5D-- From unknown Sun Jun 22 00:14:34 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: CAOBA Support team Subject: bug#11383: closed (Re: bug#11383: [md5sum] bug on filename with a backslash) Message-ID: References: <4F9ECD37.60702@redhat.com> X-Gnu-PR-Message: they-closed 11383 X-Gnu-PR-Package: coreutils X-Gnu-PR-Keywords: notabug Reply-To: 11383@debbugs.gnu.org Date: Mon, 30 Apr 2012 17:37:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1335807423-28565-1" This is a multi-part message in MIME format... ------------=_1335807423-28565-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #11383: [md5sum] bug on filename with a backslash which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 11383@debbugs.gnu.org. --=20 11383: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D11383 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1335807423-28565-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 11383-done) by debbugs.gnu.org; 30 Apr 2012 17:36:26 +0000 Received: from localhost ([127.0.0.1]:59178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOuWO-0007Pi-1b for submit@debbugs.gnu.org; Mon, 30 Apr 2012 13:36:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19876) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOuWK-0007PT-G2; Mon, 30 Apr 2012 13:36:22 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3UHYrf8006616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 30 Apr 2012 13:34:53 -0400 Received: from [10.3.113.89] (ovpn-113-89.phx2.redhat.com [10.3.113.89]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3UHYqD3018107; Mon, 30 Apr 2012 13:34:53 -0400 Message-ID: <4F9ECD37.60702@redhat.com> Date: Mon, 30 Apr 2012 11:34:47 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: CAOBA Support team Subject: Re: bug#11383: [md5sum] bug on filename with a backslash References: In-Reply-To: X-Enigmail-Version: 1.4.1 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig913D87F60DC4812576709F5D" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11383-done Cc: 11383-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig913D87F60DC4812576709F5D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable tag 11383 notabug thanks On 04/30/2012 09:34 AM, CAOBA Support team wrote: > Hi there, >=20 > I found what I think is a bug in the *md5sum* command. >=20 > When used on a filename with a backslah, the output doesn't look quite = the > same as usual: >=20 > # 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. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig913D87F60DC4812576709F5D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJPns08AAoJEKeha0olJ0NqalgIAIbFPtnoANKWzOPMqP75tDXM j1kOtPPJ/n70ZGpAAIjwbpuDO1Jv+XeFv///VeoEK4JtVLwtFGE2k9jvGaz85e35 tjo4yN24i3rVUBSF2GKQCZif2Kclv9DgFbxAyET7hOM9yRwd08eyqlLygb9QY5el j1VwNQbBGr7W7tHK+nw90UH6UDkM0eyxNAk2kA1BOpCno7fnpH0VojflbxovSbHS +mrvDnvXxFr8q1/tIqEDWuHVi593hUjeQ/vThyrQ93OO2vI1f+3wTPqejUfwGQ8E vywgGxq74aujHq2yFiA4jMmuoMumOE8z7nFDTplCFg3U3zWyVSXgvWc3z6o3mZ4= =2kPV -----END PGP SIGNATURE----- --------------enig913D87F60DC4812576709F5D-- ------------=_1335807423-28565-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Apr 2012 16:06:08 +0000 Received: from localhost ([127.0.0.1]:59095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOt6y-0005KZ-Qg for submit@debbugs.gnu.org; Mon, 30 Apr 2012 12:06:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35555) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOsef-0004gP-3u for submit@debbugs.gnu.org; Mon, 30 Apr 2012 11:36:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOsdA-0007oV-3a for submit@debbugs.gnu.org; Mon, 30 Apr 2012 11:35:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, HTML_IMAGE_ONLY_20, HTML_MESSAGE, HTML_SHORT_LINK_IMG_3, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_REMOTE_IMAGE autolearn=ham version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOsd9-0007oL-Tu for submit@debbugs.gnu.org; Mon, 30 Apr 2012 11:35:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOsd8-0007xT-4r for bug-coreutils@gnu.org; Mon, 30 Apr 2012 11:35:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOsd2-0007lf-Ve for bug-coreutils@gnu.org; Mon, 30 Apr 2012 11:35:13 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:55543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOsd2-0007k3-HA for bug-coreutils@gnu.org; Mon, 30 Apr 2012 11:35:08 -0400 Received: by vcbfy7 with SMTP id fy7so2637051vcb.0 for ; Mon, 30 Apr 2012 08:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=caoba.fr; s=google; h=mime-version:from:date:message-id:subject:to:content-type; bh=V+ed+b7/j/qbMfVd2gB7k5tn/0h0Pl5DfgvYYu25gwA=; b=FWxbZDKswkbmJ8Qekr5UsGeoJfezxW3Pk2GJRxznAS/ogyskqfdCp+qSRGAZMs0Zp1 e9HBsDvXCRKnZ1KwGANw8yljiFBh/xmjfpN4svo6IM2w6qqvdNQ0xAXpmM2fuESe43E5 di2GAgO+wSV0V9ZaFdKuHPbMcngeHXC/JiHTU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=V+ed+b7/j/qbMfVd2gB7k5tn/0h0Pl5DfgvYYu25gwA=; b=mvwHDphy5Ne2meWb6FwHQxoZR0qcts1Dwryg1TYLwFQ864N14pl1Z4f1I3b6uxN0Sg wN43+KVqojabj2gWSOIwfKvME91me0xJuTY3TymMuSp6V0wVhaekcEgPPRKZ0xKVAThN SvKCB0Bf7KzdxQDks7JBGM+KwTF9srD1GiMxAla/FR8CioFN+63fbjb/4VjkP/osvWcV zy4hQ0d1kkkOyDutp4i2vQn6gDaWT6lWPhb/GFZIYxQmH2wiJ4+pZoq9kOpHEX1xfUFJ c9L7bQamQIelgYoWj7RsYgOegg/9IE5gVuX1/lD1TOQgd8e9Q7KL/vMZD5FuPjP2Up7e EVaA== Received: by 10.220.241.12 with SMTP id lc12mr4789185vcb.22.1335800105505; Mon, 30 Apr 2012 08:35:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.172.166 with HTTP; Mon, 30 Apr 2012 08:34:45 -0700 (PDT) From: CAOBA Support team Date: Mon, 30 Apr 2012 17:34:45 +0200 Message-ID: Subject: [md5sum] bug on filename with a backslash To: bug-coreutils@gnu.org, CAOBA Support team Content-Type: multipart/alternative; boundary=14dae9cfc826c7931804bee73268 X-Gm-Message-State: ALoCoQlHqovOiVXJpJqCnmdwJqK+9qSBWB5kHhovP1je2w0dHvViZsPH/nnqkqlu0x2dIE7YfPv2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 30 Apr 2012 12:06:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) --14dae9cfc826c7931804bee73268 Content-Type: text/plain; charset=ISO-8859-1 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* ------------------------- --14dae9cfc826c7931804bee73268 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 lo= ok 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/file= 1 '/tmp/file\2'
60b725f10c9c85c70d97880dfe8191b3=A0 /tmp/fi= le1
\3b5d5c3712955042212316173ccf37be=A0 /tmp/= file\\2

Hope this helps
-------------------------
Santiago DIEZ
Director
CAOBA Support team
-------------------------
=
-------------------------
Quark Systems & CAOBA
23 rue du Buisson Saint-Louis, 75010 Paris
-------------------------

--14dae9cfc826c7931804bee73268-- ------------=_1335807423-28565-1--