From: Colin P. Mccabe Date: Thu, 22 Jul 2021 23:29:20 +0000 (-0700) Subject: Add summer.sh X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e06e7046ed02d83847d61a6a135296a186eba03;p=cmccabe-bin Add summer.sh --- 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))"