I have tried to increment a numeric variable using both var=$var+1
and var=($var+1)
without success. The variable is a number, though bash appears to be reading it as a string.
Bash version 4.2.45(1)-release (x86_64-pc-linux-gnu) on Ubuntu 13.10.