summaryrefslogtreecommitdiff
path: root/sum
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-10-09 20:47:23 +0100
committerPatrick Simianer <p@simianer.de>2014-10-09 20:47:23 +0100
commite0b634754d1bef33dc8e72509c6990cccc32745a (patch)
tree95d77abef518a333830881dbbd661f14f94868c3 /sum
parent254c27ed4af938f0b9c4a21cb99b75f8cc1cd1b2 (diff)
alles neu macht der mai
Diffstat (limited to 'sum')
-rwxr-xr-xsum1
1 files changed, 0 insertions, 1 deletions
diff --git a/sum b/sum
index dac72d3..acfa563 100755
--- a/sum
+++ b/sum
@@ -1,6 +1,5 @@
#!/usr/bin/env ruby
-
sum = 0.0
while line = STDIN.gets
sum += line.to_f