-
-
Save jruif/2933a4499ecabf5bf06ac6f33cfab252 to your computer and use it in GitHub Desktop.
Revisions
-
jruif revised this gist
Sep 28, 2017 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ //.js文件的行数 find . -name "*.js" | xargs wc -l //.js .jsx .css .scss 文件内容总行数 find . -name "*.js" -or -name "*.jsx" -or -name "*.css" -or -name "*.scss" |xargs grep -v "^$"|wc -l -
demonnico created this gist
Jun 14, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ //.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