Created
June 14, 2013 07:37
-
-
Save demonnico/5780129 to your computer and use it in GitHub Desktop.
统计项目中代码行数
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
//.m文件的行数 | |
find . -name "*.m" | xargs wc -l | |
//.m .h .xib .c 文件内容总行数 | |
find . -name "*.m" -or -name "*.h" -or -name "*.xib" -or -name "*.c" |xargs grep -v "^$"|wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment