This commit unifies and improves --bytes option. Fixes: https://github.com/util-linux/util-linux/issues/1572 Signed-off-by: Karel Zak <kzak@redhat.com>
7 lines
463 B
Text
7 lines
463 B
Text
Print the sizes in bytes rather than in a human-readable format.
|
|
+
|
|
By default, the unit, sizes are expressed in, is byte, and unit prefixes are in
|
|
power of 2^10 (1024). Abbreviations of symbols are exhibited truncated in order
|
|
to reach a better readability, by exhibiting alone the first letter of them;
|
|
examples: "1 KiB" and "1 MiB" are respectively exhibited as "1 K" and "1 M",
|
|
then omitting on purpose the mention "iB", which is part of these abbreviations.
|