GNU bug report logs - #47103
numfmt: invalid suffix 'k'

Previous Next

Package: coreutils;

Reported by: Daniel Callejas Sevilla <daniel.callejas.sevilla <at> gmail.com>

Date: Fri, 12 Mar 2021 16:18:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


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

From: Sven Köhler <sven.koehler <at> gmail.com>
To: Pádraig Brady <P <at> draigBrady.com>, 47103 <at> debbugs.gnu.org
Subject: Re: bug#47103: numfmt: invalid suffix 'k'
Date: Sun, 26 Nov 2023 17:09:23 +0100
So Pádraig's patch does allow for parsing lowercase k, but it does not 
change numfmt to use lowercase k in its output in si mode.

As Pádraig has shown, ls uses lowercase k in --si mode. So it uses 
lowercase k for 1000. I think that numfmt should behave the same for 
consistency reasons.

Also, the texinfo then seems incomplete. It lists kB but not k alone, as 
used by ls in --si mode.





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

Previous Next


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