查看单文件行数
find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.h" -or -name "*.rss" -or -name "*.xib"-or -name "*.swift" ")" -print | xargs wc -l
列出代码总行数 (去除空行)
find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.h" -or -name "*.rss" -or -name "*.xib"-or -name "*.swift" ")" |xargs grep -v "^$"|wc -l