How can I simply add numbers in a file (each line a number)!
it's easy to write a script, but I'm convinced, there must exist a command to do this ...
for example I can use
(cat xx|xargs -iX echo -n "X + ";echo 0) | bc
but this isn't really very performent!!!
do you know something better?