Package: coreutils Version: 9.1-1 Severity: normal Dear Maintainer,
* What led up to the situation? Calculating checksum on files on an ArchLinux filesystem from Debian * What exactly did you do (or not do) that was effective (or ineffective)? sha256sum '/usr/lib/systemd/system/system-systemd\x2dcryptsetup.slice' * What was the outcome of this action? \68dc6e85631e077f2bc751352459823844911b93b7ba2afd95d96c893222bb50 /usr/lib/systemd/system/system-systemd\\x2dcryptsetup.slice Notice the first \ * What outcome did you expect instead? 68dc6e85631e077f2bc751352459823844911b93b7ba2afd95d96c893222bb50 /usr/lib/systemd/system/system-systemd\\x2dcryptsetup.slice You can reproduce the bug : echo 'test' > 'test\x2d' for prg in sha1sum sha224sum sha256sum sha384sum sha512sum; do $prg 'test\x2d'; done \4e1243bd22c66e76c2ba9eddc1f91394e57f9f83 test\\x2d \52f1bf093f4b7588726035c176c0cdb4376cfea53819f1395ac9e6ec test\\x2d \f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2 test\\x2d \109bb6b5b6d5547c1ce03c7a8bd7d8f80c1cb0957f50c4f7fda04692079917e4f9cad52b878f3d8234e1a170b154b72d test\\x2d \0e3e75234abc68f4378a86b3f4b32a198ba301845b0cd6e50106e874345700cc6663a86c1ea125dc5e92be17c98f9a0f85ca9d5f595db2012f7cc3571945c123 test\\x2d -- System Information: Debian Release: 12.10 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-33-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages coreutils depends on: ii libacl1 2.3.1-3 ii libattr1 1:2.5.1-4 ii libc6 2.36-9+deb12u10 ii libgmp10 2:6.2.1+dfsg1-1.1 ii libselinux1 3.4-1+b6 coreutils recommends no packages. coreutils suggests no packages. -- no debconf information