[Top][All Lists]

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

Re: Adding humanize_number to coreutiles?

From: Pádraig Brady
Subject: Re: Adding humanize_number to coreutiles?
Date: Tue, 07 Feb 2012 09:45:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

On 02/07/2012 03:36 AM, Peng Yu wrote:
> Hi,
> Several commands in coreutils have the -h option. I'm wondering
> whether anybody in the develop team also thinks that it is worthwhile
> to export it as a standalone command. If so, I'd recommend add such
> convenient command in coreutiles. As I don't find it anywhere else as
> a stand alone command.

I've needed such functionality many times.
I'm thinking a printf format would be best to expose this:

%H seems like it might cause compat problems in future.
%{human} is more descriptive and extensible, so I'm leaning towards that.
Any other suggestions appreciated.

I'll work on it this week.


reply via email to

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