bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kilo is k and not K


From: Alfred M. Szmidt
Subject: Re: kilo is k and not K
Date: Mon, 26 Feb 2007 21:29:50 +0100 (CET)

   when you do ls -l -h one sometimes encounters files which have kilo
   size.  ls -l -h then uses "K" to display this. This is wrong and
   unallowable.  It must be "k". You don't have a choice: it is
   standarised by the SI system as "k". See for example
   http://en.wikipedia.org/wiki/SI .  Standards have to be respected
   regardless of personal preferences.

Standards should never be followed blindly, and standards should be
broken when one thinks one has good reasons.

SI also "conflicts" with POSIX in this case.  Not to mention that SI
does not define prefixes for all possible units, only SI units, and a
byte is not a SI unit.  So SI-wise, there is nothing wrong about using
k or K as a prefix symbol for `kilo'.

>From (coreutils)Block size:

`k'
`K'
`KiB'
     kibibyte: 2^10 = 1024.  `K' is special: the SI prefix is `k' and
     the IEC 60027-2 prefix is `Ki', but tradition and POSIX use `k' to
     mean `KiB'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]