[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
- Re: Command-line program to convert 'human' sizes?, (continued)
- Re: Command-line program to convert 'human' sizes?, Assaf Gordon, 2012/12/05
- Re: Command-line program to convert 'human' sizes?, Pádraig Brady, 2012/12/06
- Re: Command-line program to convert 'human' sizes?, Bernhard Voelker, 2012/12/06
- Re: Command-line program to convert 'human' sizes?, Pádraig Brady, 2012/12/06
- Re: Command-line program to convert 'human' sizes?, Bernhard Voelker, 2012/12/07
- Re: Command-line program to convert 'human' sizes?, Pádraig Brady, 2012/12/07
- Re: Command-line program to convert 'human' sizes?,
Bernhard Voelker <=
- Re: Command-line program to convert 'human' sizes?, Assaf Gordon, 2012/12/07
- Re: Command-line program to convert 'human' sizes?, Pádraig Brady, 2012/12/07