From: "Simon Richter M. Sc." <simon.richter@uni-paderborn.de>
To: 66519@debbugs.gnu.org
Subject: bug#66519: b2sum, md5sum sha*sum etc broken on filenames including backslash
Date: Fri, 13 Oct 2023 14:31:18 +0200 [thread overview]
Message-ID: <46fe31ea-6a10-44f8-a351-5bcad8b55429@uni-paderborn.de> (raw)
I noticed some broken checksums with leading backslash and wrong
filenames in my checksum files because the original filenames contained
a backslash.
Way to reproduce:
% touch test\\test.file
% b2sum test\\test.file
expected output:
786a02f742015903c6c6fd852552d272912f4740e15847618a86e217f71f5419d25e1031afee585313896444934eb04b903a685b1448b755d56f701afe9be2ce
test\test.file
real broken output:
\786a02f742015903c6c6fd852552d272912f4740e15847618a86e217f71f5419d25e1031afee585313896444934eb04b903a685b1448b755d56f701afe9be2ce
test\\test.file
Tested with coreutils 9.3 and coreutils 9.4 and LC_ALL=C
Btw any chance we get b3sum included in coreutils?
next reply other threads:[~2023-10-13 13:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-13 12:31 Simon Richter M. Sc. [this message]
2023-10-13 14:21 ` bug#66519: b2sum, md5sum sha*sum etc broken on filenames including backslash Pádraig Brady
2023-10-17 8:22 ` Simon Richter M. Sc.
2023-10-17 13:25 ` Glenn Golden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-coreutils
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46fe31ea-6a10-44f8-a351-5bcad8b55429@uni-paderborn.de \
--to=simon.richter@uni-paderborn.de \
--cc=66519@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).