tech-userlevel archive

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

Re: humanize_number(3) for dd(1) summary?



Am 04.12.10 00:20, schrieb Jean-Yves Migeon:
> On 03.12.2010 23:46, Hubert Feyrer wrote:
>> On Fri, 3 Dec 2010, Jean-Yves Migeon wrote:
>>> 1073741824 bytes (1,0 GB) transferred in 15.701 secs (65 MB/sec)
>>
>> SUSv3[1]:
>> ``On completion, dd shall write the number of input and output blocks to
>> standard error. In the POSIX locale the following formats shall be used:
>>
>> "%u+%u records in\n", <number of whole input blocks>,
>>     <number of partial input blocks>''
>>  - Hubert
>>
>> [1] http://www.opengroup.org/onlinepubs/009695399/toc.htm
> 
> I am not touching the "records" lines, only the last one:
> 
> $ ./dd if=/dev/zero of=/tmp/foobar bs=1024 count=3
> 3+0 records in
> 3+0 records out
> 3072 bytes (3,0 KB) transferred in 0.001 secs (2,9 MB/sec)
> 
> What am I missing?
> 

The use of commas looks wrong.


Home | Main Index | Thread Index | Old Index