[Toybox] Integer value parsing issue

Bastian Bittorf bittorf at bluebottle.com
Fri Apr 5 08:53:06 PDT 2013


* David Seikel <onefang at gmail.com> [05.04.2013 17:47]:
> > 2. if you input 010, it is treated as octal number. it is 8

i think this is correct. i can see no case, where somebody
exspect to interpret this as 10 decimal, because you cannot
calculate in shell with leading zeros, so no 'tool' or
script will output this by accident.

maybe for arping this is non-fatal, we have to think about
other cases...

bye, bastian

 1365177186.0


More information about the Toybox mailing list