so i have this code here:
#!/bin/bash
sum=0
for i;
do
if [ "$i" -ge 0 ]
then
sum=$((sum + i))
else
sum=$((sum + (i * -1)))
fi
done
echo $sum
so the user types blin.sh 1 3 2 5 -5 -8, and the program is supposed to take all of the integers, and make them positive, if it is a negative, and then echo the sum. but my bash code only echo's 0 for some reason unknown to science.

*expands to all files/directories in the current directory...sh -x blin.sh 1 3 2 5 -5 -8This will print all command execution onstdout