Re: human-readable / block-size as a general utility?
From:
Aaron Davies
Subject:
Re: human-readable / block-size as a general utility?
Date:
Thu, 18 Aug 2011 10:13:38 -0400
On Aug 18, 2011, at 10:00 AM, PƔdraig Brady <address@hidden> wrote:
> On 08/18/2011 04:41 AM, Aaron Davies wrote:
>> is there a way to access the -h functionality of du/df/ls as a general
>> utility?
>>
>> i'd like to write a wrapper for a badly-behaved quota tool that only
>> uses 1K blocks
>
> That might be quite useful.
> Someone told me recently that `wc -h` would be
> very useful to them, and I said something more
> general would be even better.
>
> Perhaps a printf format spec?
yes, that's exactly what I was thinking of. how hard would that be to implement?