simply add up all numbers coming from stdin seperated by lines.
here's a quick example
content of somefile.txt:
1
2
3
4
5
6
if you run the command
cat somefile.txt | addit will print out
21
Note: I could have called this
sum, but that name is pretty much taken