ファイルの数とか行数を数える
ファイルの数
$ find -type f |egrep '\.([chp](xx|pp)*|cc|hh)$'|wc -l
それらの行数
$ find -type f | egrep '\.([chp](xx|pp)*|cc|hh)$' | xargs wc -l
ファイルの数
$ find -type f |egrep '\.([chp](xx|pp)*|cc|hh)$'|wc -l
それらの行数
$ find -type f | egrep '\.([chp](xx|pp)*|cc|hh)$' | xargs wc -l