coreutils
[Top][All Lists]
Advanced

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

Re: Command-line program to convert 'human' sizes?


From: Bernhard Voelker
Subject: Re: Command-line program to convert 'human' sizes?
Date: Fri, 07 Dec 2012 14:06:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/07/2012 11:06 AM, Pádraig Brady wrote:
> On 12/07/2012 08:25 AM, Bernhard Voelker wrote:
>> Therefore this is my first test:
>>
>>    $ echo 11505426432 | src/numfmt
>>    11505426432
>>
>> Hmm, shouldn't it converting that to a human-readable
>> number then? 

> Heh, given my amendment above no 

what a pity ;-/

> It should probably also convert from 1,234 to 1234 also.

... depending on the locale, yes. E.g. in German (or European?)
locale it's 1.234 which equals 1234, but 1,234 is 1 + (234/1000).

Have a nice day,
Berny



reply via email to

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