coreutils
[Top][All Lists]
Advanced

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

Re: human-readable / block-size as a general utility?


From: Pádraig Brady
Subject: Re: human-readable / block-size as a general utility?
Date: Thu, 18 Aug 2011 15:52:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0

On 08/18/2011 03:13 PM, Aaron Davies wrote:
> 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?

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

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