I have a text file with list of numbers separated by blank line as given below- i want to add all the first (20.187+19.715+20.706...) , second elements (15.415+14.726+15.777) and so on to get the total of each element 1st,2nd,3rd etc
20.187 15.415 8.663 6.001 6.565 6.459 6.564 ..
19.715 14.726 8.307 5.833 6.367 6.089 6.444 ..
20.706 15.777 9.185 6.546 7.327 7.172 7.084 ...
since they are *not arranged in columns* how could i add up the elements of the array.
splitoperates on delimiters, not fixed widths.