bug#17553: du unit suggestion

2024-04-28 Thread Reuben Thomas via GNU coreutils Bug Reports
On Fri, 23 May 2014 at 15:02, Reuben Thomas wrote: > On 23 May 2014 13:12, Pádraig Brady 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. > Tod

bug#17553: du unit suggestion

2014-05-23 Thread Reuben Thomas
On 23 May 2014 13:12, Pádraig Brady 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 inco

bug#17553: du unit suggestion

2014-05-23 Thread Pádraig Brady
tl;dr You can get what you want currently by doing: du() { env du -B1 "$@" | numfmt --to=iec-i --suffix=B; } Though there are some potential changes. I'm 60:40 against applying the attached block-size-iec-iB.patch I'm 60:40 for applying the attached block-size-help-iB.patch details

bug#17553: du unit suggestion

2014-05-23 Thread Reuben Thomas
On 22 May 2014 23:58, Pádraig Brady wrote: > On 05/22/2014 08:47 PM, Reuben Thomas wrote: > > It would be helpful to this addle-pated individual if du would output the > > same units as it accepts as SIZE inputs, so that one could more readily > > tell whether one was getting 1000-based or 1024-b

bug#17553: du unit suggestion

2014-05-22 Thread Pádraig Brady
On 05/22/2014 08:47 PM, Reuben Thomas wrote: > It would be helpful to this addle-pated individual if du would output the > same units as it accepts as SIZE inputs, so that one could more readily > tell whether one was getting 1000-based or 1024-based units. > > For additional clarity, it would hel

bug#17553: du unit suggestion

2014-05-22 Thread Reuben Thomas
It would be helpful to this addle-pated individual if du would output the same units as it accepts as SIZE inputs, so that one could more readily tell whether one was getting 1000-based or 1024-based units. For additional clarity, it would help if for output the suffix were "B" as at present for 1