linux shell 递归统计代码行数

一句话:

find /path -name '*.cpp' |xargs wc -l

原文地址:https://www.cnblogs.com/songbingyu/p/4047163.html