Created
March 10, 2012 06:28
-
-
Save fritz0705/2010592 to your computer and use it in GitHub Desktop.
Some snippet to count lines of code
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 \( -name '*.[chSs]' -or -name '*.asm' \) -exec cat {} \; | grep -vP "^[\s]*([\#]|[\/]?\*|$|\/\/)" | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment