On 08/18/2011 03:13 PM, Aaron Davies wrote:
> On Aug 18, 2011, at 10:00 AM, Pádraig Brady <p...@draigbrady.com> 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?

Fairly trivial.
With stuff like this, the interface
is the hardest and more important to define.
So let's not jump into it just yet.

cheers,
Pádraig.

Reply via email to