Numéros de somme de bash
num1=1232
num2=24
num3=444
sum=$((num1+num2+num3))
echo $sum # prints 1700
Error Destroyer-47
num1=1232
num2=24
num3=444
sum=$((num1+num2+num3))
echo $sum # prints 1700
awk '{ sum += $1 } END { print sum }' file
paste -sd+ infile | bc
# Using existing file