wc递归统计代码行数

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

原文地址:https://www.cnblogs.com/andy071001/p/3358656.html