How to summarize a file of numbers
2010-06-10 13:18:21
I can never remember how to do this with bc
% cat file-with-numbers-on-each-line | xargs echo | sed "s/ / + /g" | bc
How to summarize a file of numbers
2010-06-10 13:18:21
I can never remember how to do this with bc
% cat file-with-numbers-on-each-line | xargs echo | sed "s/ / + /g" | bc
Archive