GNU bug report logs - #60583
Support for new SI prefixes R, Q

Previous Next

Package: coreutils;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Thu, 5 Jan 2023 21:13:02 UTC

Severity: normal

Tags: fixed, patch

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60583 in the body.
You can then email your comments to 60583 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#60583; Package coreutils. (Thu, 05 Jan 2023 21:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Eggert <eggert <at> cs.ucla.edu>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 05 Jan 2023 21:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Coreutils bugs <bug-coreutils <at> gnu.org>
Subject: Support for new SI prefixes R, Q
Date: Thu, 5 Jan 2023 13:11:46 -0800
[Message part 1 (text/plain, inline)]
Building on Pádraig's Gnulib patches of November, I installed the 
attached to add support to Coreutils for the new SI prefixes R and Q.

It'll be a while before 'df -h' outputs them, as I'm not expecting file 
systems in the ronnabyte range soon, given that the total amount of data 
storage in the world is still less than a yottabyte, and given that 
we'll need 128-bit integers support all this consistently. Still, the 
new R and Q prefixes are supported by 'sort' and 'numfmt' as-is.
[0001-build-update-gnulib-submodule-to-latest.patch (text/x-patch, attachment)]
[0002-ls-adjust-to-Gnulib-renaming.patch (text/x-patch, attachment)]
[0003-numfmt-add-support-for-new-SI-prefixes.patch (text/x-patch, attachment)]

Added tag(s) patch. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Thu, 05 Jan 2023 21:14:01 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Thu, 05 Jan 2023 21:14:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 60583 <at> debbugs.gnu.org and Paul Eggert <eggert <at> cs.ucla.edu> Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Thu, 05 Jan 2023 21:14:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#60583; Package coreutils. (Fri, 06 Jan 2023 14:32:02 GMT) Full text and rfc822 format available.

Message #14 received at 60583-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>, 60583-done <at> debbugs.gnu.org
Subject: Re: bug#60583: Support for new SI prefixes R, Q
Date: Fri, 6 Jan 2023 14:31:19 +0000
[Message part 1 (text/plain, inline)]
On 05/01/2023 21:11, Paul Eggert wrote:
> Building on Pádraig's Gnulib patches of November, I installed the
> attached to add support to Coreutils for the new SI prefixes R and Q.
> 
> It'll be a while before 'df -h' outputs them, as I'm not expecting file
> systems in the ronnabyte range soon, given that the total amount of data
> storage in the world is still less than a yottabyte, and given that
> we'll need 128-bit integers support all this consistently. Still, the
> new R and Q prefixes are supported by 'sort' and 'numfmt' as-is.

Thanks for doing that.
I see you missed my proposal from Nov,
which I didn't commit since I had a similar more complete
local patch set I was working on.
https://lists.gnu.org/archive/html/coreutils/2022-11/msg00027.html

We ended up with almost exactly the same thing which is good.

Attached are some further tweaks,
which I've pushed just now.

Marking this as done.

cheers,
Pádraig
[ronna-quetta-adjustments.patch (text/x-patch, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#60583; Package coreutils. (Fri, 06 Jan 2023 18:10:02 GMT) Full text and rfc822 format available.

Message #17 received at 60583 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>, 60583 <at> debbugs.gnu.org
Subject: Re: bug#60583: Support for new SI prefixes R, Q
Date: Fri, 6 Jan 2023 10:08:53 -0800
On 2023-01-06 06:31, Pádraig Brady wrote:
> 
> We ended up with almost exactly the same thing which is good.

Oh, ouch, I had forgotten you'd posted that numfmt patch . Thanks for 
merging the results and correcting my mistakes.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 04 Feb 2023 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 81 days ago.

Previous Next


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