find . -name "*.c"|xargs cat|grep -v ^$|wc -l
参考:https://blog.csdn.net/C1029323236/article/details/95484916