* Xabier Oneca -- xOneca <[email protected]> [25.06.2015 07:10]:
> I think it is copied from Bash behavior. According to bash(1) doc:
> (section ARITHMETIC EVALUATION)
> 
> > A shell variable that is null or unset evaluates to 0 when referenced by 
> > name without using the parameter expansion syntax.

thank you, that makes sense - at least we have this issue in the archive
now, and internally we only use the syntax without '$' now, e.g.

val=$(( b / int ))

bye, bastian
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to