Skip to content

nilsmartel/add

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

add

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 | add

it will print out

21

Note: I could have called this sum, but that name is pretty much taken

About

Sum input coming from stdin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages