arith-assign-in-varexp.tests « hush-arith « hush_test « shell - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
exec 2>&1
a='b=10'
b=3
# The variables should evaluate left-to-right,
# thus b is set to 10 _before_ addition
echo 20:$((a + b))
echo "a=$a"
echo "b=$b"