Use find, wc, and sed to count lines

后端 未结 8 1516
攒了一身酷
攒了一身酷 2020-12-25 12:17

I was trying to use sed to count all the lines based on a particular extension.

find -name \'*.m\' -exec wc -l {} \\; | sed ...

I was tryi

8条回答
提交回复
热议问题