Hi All,
I need to sum numbers, in bash, input is this:
10.00
12.33
14.99
134.00
1211.09
130.01- <--- it is negative, but "-" is at the end..
901.99
10.34- <--- another negative number...
bc -l is giving me error so only solution to my problem would be to swap - to the front of the number, right? How could I achieve that?
Thank you in advance!
Many thanks
Chris