GNU bug report logs -
#9939
Problems with the SIZE description in man pages for <ls> and <du>
Previous Next
Reported by: abdallah clark <clark-adc <at> clear.net>
Date: Wed, 2 Nov 2011 15:16:02 UTC
Severity: normal
Tags: fixed
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 9939 <at> debbugs.gnu.org (full text, mbox):
On 11/02/11 03:40, abdallah clark wrote:
> the units are not
> consistent with the ISO/SI units-- K and M are in units of 1000, not
> 1024, because they are part of the metric system, not the binary
> system.
coreutils is supporting three notations here: SI-ish,
IEC 60027-2 / ISO/IEC 80000-13:2008, and traditional Unix.
So:
MB means 1000*1000 bytes. This is like SI, except SI doesn't have "B".
MiB means 1024*1024 bytes. This is IEC 60027-2 and ISO/IEC 80000-13:2008.
M means MiB. This is traditional Unix.
See <http://en.wikipedia.org/wiki/Binary_prefix> for more info.
(coreutils cannot use plain SI, since SI doesn't specify
an abbreviation for "byte".)
> it is just too awkwardly
> written to be understood on the first reading.
Suggestions for improved wording are welcome. We'd like it to be
short, of course.
> Also, the statement "Mandatory arguments to long options are mandatory
> for short options too." puzzles me
Yes, I don't like that sentence either. Suggestions for
improvement are welcome here, too. Maybe we should just get
rid of it? I expect it causes more confusion than it cures.
This bug report was last modified 6 years and 276 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.