I have a | delimited file with multiple fields (Field_1 to Field_10), and some of the fields have dollar amounts. I would like to get the cumulative sum of say Field_1 ($ amount), Field_5 ($ amount), Field_6 ($ amount), and produce an output which is equal to SUM(Field_1)+SUM(Field_5)+SUM(Field_6).
Sumation of Multiple Field Cumulative Sum
shell script;text processing;numeric data