Package: coreutils
Version: 8.32-4+b1
Version: 9.1-1
Severity: normal

Dear Maintainer,

  $ pr +0
  pr: +0: No such file or directory
  $ pr +99999999999999999999
  pr: + argument '99999999999999999999' too large
this is inconsistent.

Issue 8 Draft 3 says
  110734  The following options shall be supported. In the following option 
descriptions, column, lines,
  110735  offset, page, and width are positive decimal integers; gap is a 
non-negative decimal integer.

  110736  +page Begin output at page number page of the formatted input.
so this is strictly-speaking legal, but still weird:
+0 is a file, but all other +[0-9][0-9]* combinations are numbers.

As literature review:
  SysVr4 accepts +0 as a number (and doesn't check overflow), and
  NetBSD refuses +0             (likewise).

Best,
наб

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

Kernel: Linux 6.1.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-3
ii  libattr1     1:2.5.1-4
ii  libc6        2.36-9
ii  libgmp10     2:6.2.1+dfsg1-1.1
ii  libselinux1  3.4-1+b5

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to