Answers for "count number of lines files .cpp .h"

0

count number of lines files .cpp .h

# Show count sum
find . -type f \( -name \*.cpp -o -name \*.h \) ! -name pugixml.cpp -exec cat {} + | wc -l
# Show count sum and stats for each file
find . -type f \( -name \*.cpp -o -name \*.h \) ! -name pugixml.cpp -exec wc -l {} +
Posted by: Guest on January-09-2021
0

count number of lines files .cpp .h

# Show count sum
find . -type f \( -name \*.cpp -o -name \*.h \) ! -name pugixml.cpp -exec cat {} + | wc -l
# Show count sum and stats for each file
find . -type f \( -name \*.cpp -o -name \*.h \) ! -name pugixml.cpp -exec wc -l {} +
Posted by: Guest on January-09-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language