GNU bug report logs - #47085
du: why does 'usage' show prefixes 'Z' or 'Y' if they are disallowed?

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Fri, 12 Mar 2021 04:54:02 UTC

Severity: normal

Tags: notabug

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: L A Walsh <coreutils <at> tlinx.org>
Cc: 47085 <at> debbugs.gnu.org
Subject: bug#47085: du: why does 'usage' show prefixes 'Z' or 'Y' if they are disallowed?
Date: Fri, 12 Mar 2021 11:46:52 -0800
On 3/11/21 8:53 PM, L A Walsh wrote:
> Why are those suffixes listed as valid under the program 'usage'
> and manpage, when they are automatically disallowed?

They are valid if your computer has wide-enough integers. As far as I 
know no platform supports Y and only one or two supports Z, but the 
documentation is future-proofing.

Conversely, if you're running on a really small computer that doesn't 
even support 64-bit integers, even 'T' is too wide.

I doubt whether it's worth complicating the manual for this minor 
detail, as the current diagnostic "'Y" too large" is accurate as far as 
it goes.




This bug report was last modified 3 years and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.