I've solved it! I let the question just in case. I changed the exprsion by: limit="$((10#$today - 30))"