scp: rounding bug in displayed transfer rate?

Ben Lindstrom mouring at eviladmin.org
Sun Mar 22 12:45:41 EST 2009


On Mar 21, 2009, at 7:19 PM, Brolin Empey wrote:
[..]
>> If I were to interpret scp output programmatically I would be able to
>> deal with 0 much more easily than <no value specified> especially
>> since I may be using whitespace as field separator.
>
> I realise this too.  How about printing "-.-KB/s" instead of
> "0.0KB/s"?  The '-'s mean no value is specified, but the presence of
> the decimal point and rate indicate that a value would be specified
> under non-exceptional conditions.

If you feel this should be done then please write a patch and submit  
it to the bugzilla tracking page.   Most around here don't feel it is  
detrimental nor worth investing development cycles.

- Ben


More information about the openssh-unix-dev mailing list