Written by marcelpetrick
on August 9, 2016
Nothing in comparison to SLOCCount or other tools, but sometimes you just need a ‘value‘ 😉
1 |
find . -regex ".*\.\(h\|cpp\)" | sort | xargs wc -l |
103 ./main.cpp
90 ./map.cpp
35 ./map.h
63 ./mapitem.cpp
29 ./mapitem.h
122 ./mapprocessor.cpp
27 ./mapprocessor.h
79 ./mapreader.cpp
23 ./mapreader.h
571 total
edith 20160819: sort the result before counting for a much nicer appearance 😉
Leave a Reply
You must be logged in to post a comment.