Sum a file of number
If you have a file(s) of numbers (one per line) that you want to sum
paste -sd+ <File Name List> | bc
Or from another command
<Command> | paste -sd+ | bc
Written by LokiAstari
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sum
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#