bug-coreutils
[Top][All Lists]
Advanced

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

bug#17553: du unit suggestion


From: Reuben Thomas
Subject: bug#17553: du unit suggestion
Date: Fri, 23 May 2014 14:02:40 +0100

On 23 May 2014 13:12, Pádraig Brady <address@hidden> wrote:

> tl;dr
>
>   You can get what you want currently by doing:
>
>     du() { env du -B1 "$@" | numfmt --to=iec-i --suffix=B; }
>

Thanks very much, that's certainly good enough for me.

My understanding of the rest of what you wrote is that fixing the
inconsistency in du's output is complicated by backwards compatibility, and
because the code used to do so is used elsewhere in coreutils. Pity. It'd
certainly be nice to see consistent output by default.

With -B '..B' output you mean?
>

Sorry, yes.

Thanks very much for your efforts.


reply via email to

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