From unknown Sun Aug 10 16:51:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44308 <44308@debbugs.gnu.org> To: bug#44308 <44308@debbugs.gnu.org> Subject: Status: md5sum (and other *sum utils) path dependent output Reply-To: bug#44308 <44308@debbugs.gnu.org> Date: Sun, 10 Aug 2025 23:51:00 +0000 retitle 44308 md5sum (and other *sum utils) path dependent output reassign 44308 coreutils submitter 44308 alf@orion.it severity 44308 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 29 10:51:09 2020 Received: (at submit) by debbugs.gnu.org; 29 Oct 2020 14:51:09 +0000 Received: from localhost ([127.0.0.1]:54599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY9Gc-0004cs-0N for submit@debbugs.gnu.org; Thu, 29 Oct 2020 10:51:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:55082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY5Mt-00040G-9S for submit@debbugs.gnu.org; Thu, 29 Oct 2020 06:41:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kY5Ms-0007bF-QW for bug-coreutils@gnu.org; Thu, 29 Oct 2020 06:41:19 -0400 Received: from dante.orion.it ([77.93.229.164]:37414) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kY5Mo-0005aR-Qg for bug-coreutils@gnu.org; Thu, 29 Oct 2020 06:41:17 -0400 X-Envelope-From: alf@orion.it X-Envelope-To: DKIM-Filter: OpenDKIM Filter v2.10.3 dante.orion.it 09TAfBdb018524 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orion.it; s=orion; t=1603968072; bh=Y+V5dP4eW1rkTgU82ogwT/kmoVIQvaXg7CdbipFLRFc=; h=Reply-To:To:From:Subject:Date:From; b=Uj1ynM2EXComsSRSmTP0LWzkzkaw2eN3pHtGpLbaJZo9XkZf7lnyyOU/qQqNO9706 ib9t6uTJR09L5zCV0jQ5OFoIua56Ex6IlFCHxiIASdevyZhvq/g2cdWe516/zv4Zy3 4zRkLm3lkYS/B/XFNpo3Ktwngwod3kQSivNhu1iI= Received: from cannonball.nouvelle.it (cannonball.nouvelle.it [10.115.64.170]) (authenticated bits=0) by dante.orion.it (8.14.4/8.14.4) with ESMTP id 09TAfBdb018524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 29 Oct 2020 11:41:12 +0100 To: bug-coreutils@gnu.org From: Alessandro Forghieri Subject: md5sum (and other *sum utils) path dependent output Autocrypt: addr=alf@orion.it; prefer-encrypt=mutual; keydata= mQENBFCAH60BB/9QbmpWbR5hSim5cb3E91VqNroz++N6JtVp2wQVEOQW8prxkvaJx1zVLG8J Ni3FE9GOH3Y63MBh+r4kAY7BZxQVVJmEdLsaU+zZRZjmSVVRld5M6zqlzKtUlUXN1e4kHwMJ f58umzOwIBPV43p+146acrlC0jmbiy/qI8PmBU3Np73OFkIIC5wJc5iEdi/PwwR+nkFoOeKG /wKTTyHIOJLwA9BeyUvsKI2uYd2ZsOJvbCwcdoL/WInxlaxuoJB3/sSpaWTqaRHEBUHU5mIx UwfSY/rae6SBF1FwAosQEkT2SOJXsVm7IpmTc4duScVDebLw8qBuD9jbvY9K2P6nHiADABEB AAG0L0FsZXNzYW5kcm8gRm9yZ2hpZXJpIChTZWNvbmRhcnkpIDxhbGZAb3Jpb24uaXQ+iQE6 BBMBCAAkAhsvBQsJCAcCBhUICQoLAgQWAgMBAh4BAheABQJYihrSAhkBAAoJELT53Kdqv/In fiIH/AmjJ/OmidkPzuf3dynGTj2fMDz5RtgG4zboYmH6ke8tyGiSjlppL0sHfVXuvk174K66 JEq1dFIeXJLowwj8MJdf93yYwnBt7WjUaX3Pq2LIcnHZQjSfi6lxTdmpsV2yD8V0jhDdk77P 7UttkevjwVXPmvDut8awERghLZRByBFXrnV8pY9rTONMKFdNyP8Yoqv9BkGB0w5sBHroZymV dT6715B0BLLnoc2TCAGOhtrYXb8SgO2uOi2sy9v2NdsSW+IhZO3rjEtslnzMClpMmqi3cULz Nj0SySSZ78u+8dQQKVrdpg1H+112QmhVc4PJKGgerplSjTvG8hydzg0N9rk= Organization: Nouvelle s.r.l. Message-ID: <7b9916e9-019b-b61c-8149-3ff276c8b0fa@orion.it> Date: Thu, 29 Oct 2020 11:41:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tv1VkLPFp8VLw5yIOz2KjTdPTKKTiuT3k" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.16 (dante.orion.it [151.12.195.243]); Thu, 29 Oct 2020 11:41:12 +0100 (CET) X-Virus-Scanned: clamav-milter 0.100.3 at dante.orion.it X-Virus-Status: Clean Received-SPF: pass client-ip=77.93.229.164; envelope-from=alf@orion.it; helo=dante.orion.it X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/29 06:41:04 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 29 Oct 2020 10:51:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: alf@orion.it Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tv1VkLPFp8VLw5yIOz2KjTdPTKKTiuT3k Content-Type: multipart/mixed; boundary="IVOv2LACzTB5JHIa1bA5P3ySL332q06Xz" --IVOv2LACzTB5JHIa1bA5P3ySL332q06Xz Content-Type: multipart/mixed; boundary="------------F960FD40DB572135884119FA" Content-Language: en-US This is a multi-part message in MIME format. --------------F960FD40DB572135884119FA Content-Type: multipart/alternative; boundary="------------47CAFDE06D6CDA4161380C03" --------------47CAFDE06D6CDA4161380C03 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Greetings. Just stumbled upon this: *# md5sum =2E/Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3 \d41d8cd98f00b204e9800998ecf8427e=C2=A0 =2E/Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3* *# cp =2E/Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3 /tmp/qlo # md5sum /tmp/qlo d41d8cd98f00b204e9800998ecf8427e=C2=A0 /tmp/qlo** * IE, in the first instance a '\' character is prepended to the output. The file itself is an empty file, so I guess the file content is irrelevant to the apparent bug. Running coreutils-8.31-6.fc30.x86_64 on Linux 5.6.13-100.fc30.x86_64+debu= g To communicate, cc me, as I am not a ML subscriber. Cheers, --=20 Alessandro Forghieri Nouvelle s.r.l. via Giardini 456/C 41124 Modena (ITALY) tel. +39 059 2929338 - Fax +39 059 347606 --------------47CAFDE06D6CDA4161380C03 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Greetings.

Just stumbled upon this:

# md5sum =2E/Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3
\d41d8cd98f00b204e9800998ecf8427e=C2=A0 =2E/Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3

# cp =2E/Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3 /tmp/qlo
# md5sum /tmp/qlo
d41d8cd98f00b204e9800998ecf8427e=C2=A0 /tmp/qlo

IE, in the first instance a '\' character is prepended to the output. The file itself is an empty file, so I guess the file content is irrelevant to the apparent bug.

Running coreutils-8.31-6.fc30.x86_64 on Linux 5.6.13-100.fc30.x86_64+debug

To communicate, cc me, as I am not a ML subscriber.

Cheers,


--=20
Alessandro Forghieri
Nouvelle s.r.l.
via Giardini 456/C 41124 Modena  (ITALY)
tel. +39 059 2929338 - Fax +39 059 347606
--------------47CAFDE06D6CDA4161380C03-- --------------F960FD40DB572135884119FA Content-Type: text/x-vcard; charset=utf-8; name="alf.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="alf.vcf" begin:vcard fn:Alessandro Forghieri n:Forghieri;Alessandro org:Nouvelle s.r.l.;Ufficio tecnico adr:;;Via Giardini 456/C;Modena;MO;41100;Italy email;internet:alf@orion.it title:Partner tel;work:+39 059 2929338 url:http://www.orion.it/ version:2.1 end:vcard --------------F960FD40DB572135884119FA-- --IVOv2LACzTB5JHIa1bA5P3ySL332q06Xz-- --tv1VkLPFp8VLw5yIOz2KjTdPTKKTiuT3k Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEMgzAQgZ5Y+rLgF0ytPncp2q/8icFAl+anD8ACgkQtPncp2q/ 8ifYLwf9F+IhsHRt1tc54ZS8024l2BOvdJK8pLbIuYErEMSQP/wM+vOgXcTAdz0w r7wtRbYZ2pqvs+1uoJXcnsPvXk+V7IBqT738puE6hqdEpMTTMN4+XZABpWPjeVpu AKpTdufJ0j3Yy+UzBAioa+zRXQzgfH9s3y+yzhslWCxhN5YC9u94gnFUZsitYXQ8 4Z+76B50mH3HkgPHtJ9OINHWPSua+5h5GYdL3okAKuNsNSTh1o9OXs4ML4QI4wEZ x+RxGyJLAbZJXMf2nm4DidqfBc0I8rC1tGmTiMgd7tPLE4i8xBzCpgangbF9Djx6 MAzCav/jASorWtA0VmDM2J+ZDi7Yag== =tpN1 -----END PGP SIGNATURE----- --tv1VkLPFp8VLw5yIOz2KjTdPTKKTiuT3k-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 29 11:17:34 2020 Received: (at submit) by debbugs.gnu.org; 29 Oct 2020 15:17:34 +0000 Received: from localhost ([127.0.0.1]:54625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY9gE-0007PK-2j for submit@debbugs.gnu.org; Thu, 29 Oct 2020 11:17:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:55260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY5P2-00043V-CS for submit@debbugs.gnu.org; Thu, 29 Oct 2020 06:43:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kY5P2-0007l7-4r for bug-coreutils@gnu.org; Thu, 29 Oct 2020 06:43:32 -0400 Received: from dante.orion.it ([77.93.229.164]:37548) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kY5P0-0006SW-72 for bug-coreutils@gnu.org; Thu, 29 Oct 2020 06:43:31 -0400 X-Envelope-From: alf@orion.it X-Envelope-To: DKIM-Filter: OpenDKIM Filter v2.10.3 dante.orion.it 09TAhakA019409 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orion.it; s=orion; t=1603968217; bh=0t1sQz/0viXW/aI1QzncSpdxiIPtN06vg9vGScA1o4E=; h=Reply-To:Subject:From:To:References:Date:In-Reply-To:From; b=DLOYoH7/qC97hDVEn9AZexlixO4dTPuW6Ft4NYkz5QNvC0kyTbK+VvwnT3ULj9ciC xoSQ58FOEz9RIs3yp6bnSzNW6TWtiMsKHDXs4ONm0YtQhVdlVJQc3tERJf7/kGwCBD CAjvXXYReKReKw2ClaTPhvmTjXpCgtFSTMzD6PDk= Received: from cannonball.nouvelle.it (cannonball.nouvelle.it [10.115.64.170]) (authenticated bits=0) by dante.orion.it (8.14.4/8.14.4) with ESMTP id 09TAhakA019409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 29 Oct 2020 11:43:36 +0100 Subject: Re: md5sum (and other *sum utils) path dependent output From: Alessandro Forghieri To: bug-coreutils@gnu.org References: <7b9916e9-019b-b61c-8149-3ff276c8b0fa@orion.it> Autocrypt: addr=alf@orion.it; prefer-encrypt=mutual; keydata= mQENBFCAH60BB/9QbmpWbR5hSim5cb3E91VqNroz++N6JtVp2wQVEOQW8prxkvaJx1zVLG8J Ni3FE9GOH3Y63MBh+r4kAY7BZxQVVJmEdLsaU+zZRZjmSVVRld5M6zqlzKtUlUXN1e4kHwMJ f58umzOwIBPV43p+146acrlC0jmbiy/qI8PmBU3Np73OFkIIC5wJc5iEdi/PwwR+nkFoOeKG /wKTTyHIOJLwA9BeyUvsKI2uYd2ZsOJvbCwcdoL/WInxlaxuoJB3/sSpaWTqaRHEBUHU5mIx UwfSY/rae6SBF1FwAosQEkT2SOJXsVm7IpmTc4duScVDebLw8qBuD9jbvY9K2P6nHiADABEB AAG0L0FsZXNzYW5kcm8gRm9yZ2hpZXJpIChTZWNvbmRhcnkpIDxhbGZAb3Jpb24uaXQ+iQE6 BBMBCAAkAhsvBQsJCAcCBhUICQoLAgQWAgMBAh4BAheABQJYihrSAhkBAAoJELT53Kdqv/In fiIH/AmjJ/OmidkPzuf3dynGTj2fMDz5RtgG4zboYmH6ke8tyGiSjlppL0sHfVXuvk174K66 JEq1dFIeXJLowwj8MJdf93yYwnBt7WjUaX3Pq2LIcnHZQjSfi6lxTdmpsV2yD8V0jhDdk77P 7UttkevjwVXPmvDut8awERghLZRByBFXrnV8pY9rTONMKFdNyP8Yoqv9BkGB0w5sBHroZymV dT6715B0BLLnoc2TCAGOhtrYXb8SgO2uOi2sy9v2NdsSW+IhZO3rjEtslnzMClpMmqi3cULz Nj0SySSZ78u+8dQQKVrdpg1H+112QmhVc4PJKGgerplSjTvG8hydzg0N9rk= Organization: Nouvelle s.r.l. Message-ID: <4a0e64c7-9389-03d2-9d0a-9fccd1f38438@orion.it> Date: Thu, 29 Oct 2020 11:43:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <7b9916e9-019b-b61c-8149-3ff276c8b0fa@orion.it> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VacZ6V7NbOVg2UZ3F8hcJvHihVRXoP8ey" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.16 (dante.orion.it [151.12.195.243]); Thu, 29 Oct 2020 11:43:37 +0100 (CET) X-Virus-Scanned: clamav-milter 0.100.3 at dante.orion.it X-Virus-Status: Clean Received-SPF: pass client-ip=77.93.229.164; envelope-from=alf@orion.it; helo=dante.orion.it X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/29 06:41:04 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.261, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 29 Oct 2020 11:17:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: alf@orion.it Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VacZ6V7NbOVg2UZ3F8hcJvHihVRXoP8ey Content-Type: multipart/mixed; boundary="hgpDFAJdPeZF01r6VGvOsB1jiyWWlCExT" --hgpDFAJdPeZF01r6VGvOsB1jiyWWlCExT Content-Type: multipart/mixed; boundary="------------AF34DEDB64278E76EEEF90E2" Content-Language: en-US This is a multi-part message in MIME format. --------------AF34DEDB64278E76EEEF90E2 Content-Type: multipart/alternative; boundary="------------6E219424BAC5DB1151BAD1F7" --------------6E219424BAC5DB1151BAD1F7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I forgot to add, sha1sum, sha256sum and I'm guessing (but did not test) all the other *sum utils behave similarly. On 10/29/20 11:41 AM, Alessandro Forghieri wrote: > > Greetings. > > Just stumbled upon this: > > *# md5sum > ./Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3 > \d41d8cd98f00b204e9800998ecf8427e=C2=A0 > ./Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3* > > *# cp > ./Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3 > /tmp/qlo > # md5sum /tmp/qlo > d41d8cd98f00b204e9800998ecf8427e=C2=A0 /tmp/qlo** > * > > IE, in the first instance a '\' character is prepended to the output. > The file itself is an empty file, so I guess the file content is > irrelevant to the apparent bug. > > Running coreutils-8.31-6.fc30.x86_64 on Linux 5.6.13-100.fc30.x86_64+de= bug > > To communicate, cc me, as I am not a ML subscriber. > > Cheers, > > > --=20 > Alessandro Forghieri > Nouvelle s.r.l. > via Giardini 456/C 41124 Modena (ITALY) > tel. +39 059 2929338 - Fax +39 059 347606 --=20 Alessandro Forghieri Nouvelle s.r.l. via Giardini 456/C 41124 Modena (ITALY) tel. +39 059 2929338 - Fax +39 059 347606 --------------6E219424BAC5DB1151BAD1F7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

I forgot to add, sha1sum, sha256sum and I'm guessing (but did not test) all the other *sum utils behave similarly.


On 10/29/20 11:41 AM, Alessandro Forghieri wrote:

Greetings.

Just stumbled upon this:

# md5sum =2E/Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3
\d41d8cd98f00b204e9800998ecf8427e=C2=A0 =2E/Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3

# cp =2E/Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Ar= sene_Duevi\\Roberto_Zanisi.mp3 /tmp/qlo
# md5sum /tmp/qlo
d41d8cd98f00b204e9800998ecf8427e=C2=A0 /tmp/qlo
=

IE, in the first instance a '\' character is prepended to the output. The file itself is an empty file, so I guess the file content is irrelevant to the apparent bug.

Running coreutils-8.31-6.fc30.x86_64 on Linux 5.6.13-100.fc30.x86_64+debug

To communicate, cc me, as I am not a ML subscriber.

Cheers,


--=20
Alessandro Forghieri
Nouvelle s.r.l.
via Giardini 456/C 41124 Modena  (ITALY)
tel. +39 059 2929338 - Fax +39 059 347606
--=20
Alessandro Forghieri
Nouvelle s.r.l.
via Giardini 456/C 41124 Modena  (ITALY)
tel. +39 059 2929338 - Fax +39 059 347606
--------------6E219424BAC5DB1151BAD1F7-- --------------AF34DEDB64278E76EEEF90E2 Content-Type: text/x-vcard; charset=utf-8; name="alf.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="alf.vcf" begin:vcard fn:Alessandro Forghieri n:Forghieri;Alessandro org:Nouvelle s.r.l.;Ufficio tecnico adr:;;Via Giardini 456/C;Modena;MO;41100;Italy email;internet:alf@orion.it title:Partner tel;work:+39 059 2929338 url:http://www.orion.it/ version:2.1 end:vcard --------------AF34DEDB64278E76EEEF90E2-- --hgpDFAJdPeZF01r6VGvOsB1jiyWWlCExT-- --VacZ6V7NbOVg2UZ3F8hcJvHihVRXoP8ey Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEMgzAQgZ5Y+rLgF0ytPncp2q/8icFAl+anNAACgkQtPncp2q/ 8ifJEgf/QZdLNpytFylsDzlqPkDwKfbJYrka//1yRZ8AvuKlgIAsb+X50t0q5yh3 hAsobhJ9ztde7LhDrGfXBiUbNXd45nLafdtcFHz5BbfDN5LFbRc0XRGnuVSaRymP GX+/Nx2QMdOmqX29/dzn5IrO0J9wd+sTOOvQ3hymmk19EehcYDmrTHGC/ZrjvJt+ yosKuhZnvfmVa0Wel2g1b6A3nSYIABT2e2NEsaliNWrcnicDUm7kU3/b+MLDI27U UNYX9Ik22ls9vgTvmcwKFRGaIY1fdGnMFnTQ3JzLFJAm39XixJ3EvcpZDtVIT0lo 7vqimDy+yb/zokgbI/CZxGMdXjHI3Q== =kQKd -----END PGP SIGNATURE----- --VacZ6V7NbOVg2UZ3F8hcJvHihVRXoP8ey-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 29 11:22:43 2020 Received: (at submit) by debbugs.gnu.org; 29 Oct 2020 15:22:43 +0000 Received: from localhost ([127.0.0.1]:54642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY9lD-0007XX-5n for submit@debbugs.gnu.org; Thu, 29 Oct 2020 11:22:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:34374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY9l9-0007XF-I5 for submit@debbugs.gnu.org; Thu, 29 Oct 2020 11:22:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kY9l9-0007Sv-C6 for bug-coreutils@gnu.org; Thu, 29 Oct 2020 11:22:39 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:45027) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kY9l7-00056z-8X for bug-coreutils@gnu.org; Thu, 29 Oct 2020 11:22:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603984955; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RO6s3NU9YgPqKE8XFA0HJC+i/fQkDRAU+2lBEc23mQQ=; b=eXAL5aLFbgokoNKACsK0wX0OVBhV3+DEfQVhG+38XApTNRnGflwmPzrnaUaKPoHbu1U+YT REWDef1pA4eGwvNVeqjEcgeVccsAHeOYNUhFya6t7e9v0kTht8T9tCRQtU/bivJMxqEnqf 3X4ZtL8GjWciQoM4wmOQsqlau3cAXSY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-277-HE0JZLKOMZ6D_KbVMvdLZg-1; Thu, 29 Oct 2020 11:22:32 -0400 X-MC-Unique: HE0JZLKOMZ6D_KbVMvdLZg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AC5C7186DD24; Thu, 29 Oct 2020 15:22:31 +0000 (UTC) Received: from nbkamil.localnet (unknown [10.40.194.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id CC6FE5C1C4; Thu, 29 Oct 2020 15:22:30 +0000 (UTC) From: Kamil Dudka To: alf@orion.it Subject: Re: bug#44308: md5sum (and other *sum utils) path dependent output Date: Thu, 29 Oct 2020 16:22:29 +0100 Message-ID: <1763465.tdWV9SEqCh@nbkamil> In-Reply-To: <7b9916e9-019b-b61c-8149-3ff276c8b0fa@orion.it> References: <7b9916e9-019b-b61c-8149-3ff276c8b0fa@orion.it> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kdudka@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=216.205.24.124; envelope-from=kdudka@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/29 00:47:54 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: bug-coreutils@gnu.org, 44308@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) On Thursday, October 29, 2020 11:41:03 AM CET Alessandro Forghieri wrote: > Greetings. >=20 > Just stumbled upon this: >=20 > *# md5sum > ./Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Arse= ne_ > Duevi\\Roberto_Zanisi.mp3 \d41d8cd98f00b204e9800998ecf8427e > ./Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Arse= ne_ > Duevi\\Roberto_Zanisi.mp3* >=20 > *# cp > ./Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_Arse= ne_ > Duevi\\Roberto_Zanisi.mp3 /tmp/qlo > # md5sum /tmp/qlo > d41d8cd98f00b204e9800998ecf8427e /tmp/qlo** > * >=20 > IE, in the first instance a '\' character is prepended to the output. > The file itself is an empty file, so I guess the file content is > irrelevant to the apparent bug. >=20 > Running coreutils-8.31-6.fc30.x86_64 on Linux 5.6.13-100.fc30.x86_64+debu= g This is the documented behavior of md5sum [1]: "Without =E2=80=98--zero=E2=80=99, if FILE contains a backslash or newl= ine, the line is started with a backslash, and each problematic character in the file na= me is escaped with a backslash, making the output unambiguous even in the presence of arbitrary file names." Kamil [1] https://www.gnu.org/software/coreutils/manual/html_node/md5sum-invocati= on.html > To communicate, cc me, as I am not a ML subscriber. >=20 > Cheers, From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 29 13:00:31 2020 Received: (at submit) by debbugs.gnu.org; 29 Oct 2020 17:00:31 +0000 Received: from localhost ([127.0.0.1]:54816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYBHq-0001c9-UN for submit@debbugs.gnu.org; Thu, 29 Oct 2020 13:00:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:52472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYBHo-0001c1-Vp for submit@debbugs.gnu.org; Thu, 29 Oct 2020 13:00:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYBHo-0002T3-4n for bug-coreutils@gnu.org; Thu, 29 Oct 2020 13:00:28 -0400 Received: from dante.orion.it ([77.93.229.164]:37178) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYBHk-00017Z-AL for bug-coreutils@gnu.org; Thu, 29 Oct 2020 13:00:27 -0400 X-Envelope-From: alf@orion.it DKIM-Filter: OpenDKIM Filter v2.10.3 dante.orion.it 09TH0Q1n027103 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orion.it; s=orion; t=1603990826; bh=XHUHwO/ejmWHCI9A1RP1o8t9MDnl32Ks++gEXNioexk=; h=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From; b=djSdW2NF/DRHvH8hECghxzVGxJTFgonhIYXhBjYY6IHulYNHo/RcyTEfzZskwThpm qOoUwCJF6kDPOJ8tkj+qU2Md4vGxXJTchm1I+R7Kcqq6ZVHB9LTP72GW+JRkMe3rgl aQpRCysIPyPmaUWvQVMkR4cpEBNOJxJYrH+NEh/Q= Received: from cannonball.nouvelle.it (cannonball.nouvelle.it [10.115.64.170]) (authenticated bits=0) by dante.orion.it (8.14.4/8.14.4) with ESMTP id 09TH0Q1n027103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Oct 2020 18:00:26 +0100 Subject: Re: bug#44308: md5sum (and other *sum utils) path dependent output To: Kamil Dudka References: <7b9916e9-019b-b61c-8149-3ff276c8b0fa@orion.it> <1763465.tdWV9SEqCh@nbkamil> From: Alessandro Forghieri Autocrypt: addr=alf@orion.it; prefer-encrypt=mutual; keydata= mQENBFCAH60BB/9QbmpWbR5hSim5cb3E91VqNroz++N6JtVp2wQVEOQW8prxkvaJx1zVLG8J Ni3FE9GOH3Y63MBh+r4kAY7BZxQVVJmEdLsaU+zZRZjmSVVRld5M6zqlzKtUlUXN1e4kHwMJ f58umzOwIBPV43p+146acrlC0jmbiy/qI8PmBU3Np73OFkIIC5wJc5iEdi/PwwR+nkFoOeKG /wKTTyHIOJLwA9BeyUvsKI2uYd2ZsOJvbCwcdoL/WInxlaxuoJB3/sSpaWTqaRHEBUHU5mIx UwfSY/rae6SBF1FwAosQEkT2SOJXsVm7IpmTc4duScVDebLw8qBuD9jbvY9K2P6nHiADABEB AAG0L0FsZXNzYW5kcm8gRm9yZ2hpZXJpIChTZWNvbmRhcnkpIDxhbGZAb3Jpb24uaXQ+iQE6 BBMBCAAkAhsvBQsJCAcCBhUICQoLAgQWAgMBAh4BAheABQJYihrSAhkBAAoJELT53Kdqv/In fiIH/AmjJ/OmidkPzuf3dynGTj2fMDz5RtgG4zboYmH6ke8tyGiSjlppL0sHfVXuvk174K66 JEq1dFIeXJLowwj8MJdf93yYwnBt7WjUaX3Pq2LIcnHZQjSfi6lxTdmpsV2yD8V0jhDdk77P 7UttkevjwVXPmvDut8awERghLZRByBFXrnV8pY9rTONMKFdNyP8Yoqv9BkGB0w5sBHroZymV dT6715B0BLLnoc2TCAGOhtrYXb8SgO2uOi2sy9v2NdsSW+IhZO3rjEtslnzMClpMmqi3cULz Nj0SySSZ78u+8dQQKVrdpg1H+112QmhVc4PJKGgerplSjTvG8hydzg0N9rk= Organization: Nouvelle s.r.l. Message-ID: <3bd7f224-92c8-67bb-45ce-bdf9ba0aa906@orion.it> Date: Thu, 29 Oct 2020 18:00:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <1763465.tdWV9SEqCh@nbkamil> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tzdAtTbLisWmRU3tdpHwyZQOVpzEdUrSy" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.16 (dante.orion.it [151.12.195.243]); Thu, 29 Oct 2020 18:00:26 +0100 (CET) X-Virus-Scanned: clamav-milter 0.100.3 at dante.orion.it X-Virus-Status: Clean Received-SPF: pass client-ip=77.93.229.164; envelope-from=alf@orion.it; helo=dante.orion.it X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/29 13:00:21 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.261, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: bug-coreutils@gnu.org, 44308@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: alf@orion.it Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tzdAtTbLisWmRU3tdpHwyZQOVpzEdUrSy Content-Type: multipart/mixed; boundary="nMKQAunuioirgA3WADkkkysPmTdvqYMD8" --nMKQAunuioirgA3WADkkkysPmTdvqYMD8 Content-Type: multipart/mixed; boundary="------------7E41EFA5578C3B9913C7F3AC" Content-Language: it-IT This is a multi-part message in MIME format. --------------7E41EFA5578C3B9913C7F3AC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ok, missed that bit. My bad. Cheers, On 10/29/20 4:22 PM, Kamil Dudka wrote: > On Thursday, October 29, 2020 11:41:03 AM CET Alessandro Forghieri wrot= e: >> Greetings. >> >> Just stumbled upon this: >> >> *# md5sum >> ./Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_A= rsene_ >> Duevi\\Roberto_Zanisi.mp3 \d41d8cd98f00b204e9800998ecf8427e >> ./Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_A= rsene_ >> Duevi\\Roberto_Zanisi.mp3* >> >> *# cp >> ./Development/rss/rss/STAGING/BATTITI_del_27_11_2016_-_Battiti_Live:_A= rsene_ >> Duevi\\Roberto_Zanisi.mp3 /tmp/qlo >> # md5sum /tmp/qlo >> d41d8cd98f00b204e9800998ecf8427e /tmp/qlo** >> * >> >> IE, in the first instance a '\' character is prepended to the output. >> The file itself is an empty file, so I guess the file content is >> irrelevant to the apparent bug. >> >> Running coreutils-8.31-6.fc30.x86_64 on Linux 5.6.13-100.fc30.x86_64+d= ebug > This is the documented behavior of md5sum [1]: > > "Without =E2=80=98--zero=E2=80=99, if FILE contains a backslash or = newline, the line is > started with a backslash, and each problematic character in the fil= e name > is escaped with a backslash, making the output unambiguous even in = the > presence of arbitrary file names." > > Kamil > > [1] https://www.gnu.org/software/coreutils/manual/html_node/md5sum-invo= cation.html > >> To communicate, cc me, as I am not a ML subscriber. >> >> Cheers, > > --=20 Alessandro Forghieri Nouvelle s.r.l. via Giardini 456/C 41124 Modena (ITALY) tel. +39 059 2929338 - Fax +39 059 347606 --------------7E41EFA5578C3B9913C7F3AC Content-Type: text/x-vcard; charset=utf-8; name="alf.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="alf.vcf" begin:vcard fn:Alessandro Forghieri n:Forghieri;Alessandro org:Nouvelle s.r.l.;Ufficio tecnico adr:;;Via Giardini 456/C;Modena;MO;41100;Italy email;internet:alf@orion.it title:Partner tel;work:+39 059 2929338 url:http://www.orion.it/ version:2.1 end:vcard --------------7E41EFA5578C3B9913C7F3AC-- --nMKQAunuioirgA3WADkkkysPmTdvqYMD8-- --tzdAtTbLisWmRU3tdpHwyZQOVpzEdUrSy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEMgzAQgZ5Y+rLgF0ytPncp2q/8icFAl+a9SIACgkQtPncp2q/ 8ieD7Qf9GpjR4b+SFRxz7FkjLJ2TcNgs+bpVBDD+aNxl3BM12UAJz0AehQ1YwxUY GPeeH0iauiIFMu424csUsRAOdqwnMnF+9nf2Bc5gZcBAhWpFqSSoHowZvc9QFMKP 6cKWF/dBZQCzzhYsToZlEwzphSaYAkUDGi+bP2FAf0J2WUAPkpu6E61oNU7fJ93b 9+5vnYKWZBIT6krzCbYFEYzd95AZ1UgO+VUM/zVH13IOoc63abhJucG+EFnRV6Rl 6fhc9+wMPG5S4xDjfEv9kvPLKJEa3bRHlzLOVJ/AstStD8u3Q8shtRzFnKQM8GeD 5ZJp3d8olLDYKgBh/Jb8aGMNWAnTfQ== =02Gc -----END PGP SIGNATURE----- --tzdAtTbLisWmRU3tdpHwyZQOVpzEdUrSy--