统计代码总行数
(base) 10218 gitcodes/polling-agent git:(master) ✗ » find . "(" -name "*.xml" -or -name "*.py" ")" -print | xargs wc -l
448 ./tmp/run_oracle_queries.py
9 ./tmp/runnmap.py
6 ./.idea/inspectionProfiles/profiles_settings.xml
38 ./.idea/inspectionProfiles/Project_Default.xml
5 ./.idea/vcs.xml
1102 ./.idea/workspace.xml
7 ./.idea/modules.xml
6 ./.idea/vagrant.xml
28 ./.idea/misc.xml
8394 total
统计代码不带空行的总行数
(base) 10218 gitcodes/polling-agent git:(master) ✗ » find . "(" -name "*.xml" -or -name "*.py" ")" -print | xargs grep -v "^$"|wc -l
7543