Bug#682875: Include add to sum up input

2012-07-27 Thread Christoph Berg
Re: Joey Hess 2012-07-26 20120726182406.ga2...@gnu.kitenet.net I'd rather see num-utils get packaged by some interested person. http://suso.suso.org/programs/num-utils/ Point taken. The idea was to have it included in some package I could expect to be installed on all systems. num-utils

Bug#682875: Include add to sum up input

2012-07-26 Thread Christoph Berg
Package: moreutils Version: 0.47 Severity: wishlist Hi, I've often wondered why there is no equivalent to wc which counts input byte that will simply add up the numbers it gets fed. Examples would be adding up file sizes, wc -l output, or whatever numbers some shell pipe produces. The attached

Bug#682875: Include add to sum up input

2012-07-26 Thread Joey Hess
Christoph Berg wrote: I've often wondered why there is no equivalent to wc which counts input byte that will simply add up the numbers it gets fed. Examples would be adding up file sizes, wc -l output, or whatever numbers some shell pipe produces. The attached add program is trivial (I