bash turn number into dots code example
Example 1: bash add all numbers
awk '{ sum += $1 } END { print sum }' file
Example 2: bash string to number
Its enough with $((YOUR_STRING)). Now it's an integer.
awk '{ sum += $1 } END { print sum }' file
Its enough with $((YOUR_STRING)). Now it's an integer.