Package: coreutils
Version: 8.32-4.1
Severity: minor

Dear Maintainer,

  LC_ALL=POSIX tr '\049-!' '0'
fails with
  tr: range-endpoints of '9-!' are in reverse collating sequence order
but POSIX.1-2008/2018 says
  If either or both of the range endpoints are octal sequences of the
  form \octal, this shall represent the range of specific coded values
  between the two range endpoints, inclusive.
so if coreutils is /actually/ trying to generate a
locale-dependent collating sequence: that's invalid
(well, in the POSIX locale; it's unspecified in others)
if it isn't: the error message is wrong.

Similarly: the error is confusing enough as-is even when it's right
(note how it presents the decoded sequence,
 and very helpfully describes it as
 "range-endpoints in reverse collating sequence order",
 which probably means something to someone,
 but it's an insane way of writing '\049 < !').

Best,
наб

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: amd64, i386

Kernel: Linux 5.17.0-2-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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-1
ii  libattr1     1:2.5.1-1
ii  libc6        2.33-7
ii  libgmp10     2:6.2.1+dfsg-3
ii  libselinux1  3.3-1+b4

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to