X-Git-Url: http://www.club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?p=cmccabe-bin;a=blobdiff_plain;f=summer.sh;fp=summer.sh;h=657e8bfe017376fbc8afd484f7196fbf0f12692b;hp=0000000000000000000000000000000000000000;hb=2e06e7046ed02d83847d61a6a135296a186eba03;hpb=dbee9b8e02b9ac3e9d76886d8d8b4059204c5187 diff --git a/summer.sh b/summer.sh new file mode 100755 index 0000000..657e8bf --- /dev/null +++ b/summer.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +python -c "import sys; print(sum(float(l) for l in sys.stdin))"