Created
September 3, 2012 07:57
-
-
Save cgravier/3607749 to your computer and use it in GitHub Desktop.
Count lines in a project, stripping comments and empty lines (folder and subfolders, look for php, as, sql, css, java, jsp files)
This file contains 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 . | egrep '\.php|\.as|\.sql|\.css|\.java|\.jsp' | grep -v '\.git' | xargs cat | sed '/^\s*$/d' | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment