Created
October 19, 2016 08:46
-
-
Save taeguk/04554cc407b709be6ce91ee12056cdf1 to your computer and use it in GitHub Desktop.
Count lines of the codes.
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
find . -regextype posix-egrep -regex ".*\.(py|sh|proto)$" -not -path "./src/dist_system/protocol/pb/*" | xargs wc -l | awk '{s+=$1} END {print s}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
find . -regextype posix-egrep -regex "..(py|sh|proto)$" -not -path "./src/dist_system/protocol/pb/" | xargs wc -l