index
:
nlp_scripts
master
Mirror of https://github.com/pks/nlp_scripts.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sum
blob: a3502e626ac24379ad6887ccf1631b8cf7e7f14e (
plain
)
1
2
3
4
5
6
7
8
#!/usr/bin/env ruby sum = 0.0 while line = STDIN.gets sum += line.to_f end puts sum