Created
November 8, 2011 16:09
-
-
Save joecannatti/1348209 to your computer and use it in GitHub Desktop.
One liner, count your CTO's code
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
count=0; for i in $(find . -name \*.rb); do count=`expr $count + $(git blame $i | grep "Anthony Broad" | wc -l)`; done; echo "ABC wrote $count lines of code"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment