1234567891011121314Some specific tests for handling arithmetic expansion. $ cat > test.sh << EOF > VAR="debian 5" > totalpkgs=5 > echo "\$(( totalpkgs + \${VAR#* }))" > EOF $ sh test.sh 10 $ msh test.sh 10