more Sum of integers

Bash, Lua, Ruby