bug-coreutils
[Top][All Lists]
Advanced

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

bug#18119: df --si misleading output units


From: Assaf Gordon
Subject: bug#18119: df --si misleading output units
Date: Fri, 19 Oct 2018 21:52:50 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

tags 18119 wontfix
severity 18119 wishlist
close 18119
stop

(triaging old bugs)

On 04/08/14 08:07 AM, Paul Eggert wrote:
Kernc wrote:
Since `--block-size=GB` outputs the value in GB, and 'GB' is the unit
appended, why doesn't `--si` do the same (use SI-units to mark
"SI-magnitude" values)?

Because it's more concise that way, and because it's been that way for years.  No doubt it could have been done differently, but at this point ...

Note that in the meantime coreutils gained a new program: "numfmt".
This program performs unit conversions with much finer control,
including GiB and GB and others.

"numfmt --help" even includes the following examples:
---
$ df -B1 | numfmt --header --field 2-4 --to=si
---

Given the above, and with no further comments in 4 years, I am closing
this report.

-assaf










reply via email to

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