On Thu, Mar 11, 2021, at 21:53, L A Walsh wrote:
>
> Also something I didn't see as being clear:
> I don't see where it says it will always round up to next higher
> unit (it may say it somewhere, I just don't see it and was
> surprised to see 'du -BT /tmp|hsort -s' show all objects as
> be
Hello,
the SI prefix for 'a thousand' is a lowercase k and not an uppercase K [1].
The default behavior of numfmt with '--from=si' option is therefore
contrary to expectation:
$ numfmt --from=si
500k# Should be accepted as valid SI
numfmt: invalid suffix in input: â500kâ
$ numfmt --from=s
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
Paul Eggert [2021-03-12 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 platfor