Created
June 17, 2013 22:21
-
-
Save ra/5801028 to your computer and use it in GitHub Desktop.
total bikes in, and also count of stations with 0 bikes. grab is from github.com/ra/leftern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cut -d : -f 10 grab | cut -d ' ' -f 1 | awk '{total = total + $1}END{print total}' | |
grep -v Planned grab | cut -d : -f 10 | cut -d ' ' -f 1 | grep -c ^0$ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment