====== cloc - C Count Lines of Code ====== 3.3.2015 sudo apt-get install cloc run it in a directory with cloc . Example output: karl@ThinkPad-W520:~/c-project-dir$ cloc . 39 text files. 39 unique files. 293 files ignored. http://cloc.sourceforge.net v 1.60 T=0.38 s (89.6 files/s, 19497.7 lines/s) ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 14 857 1040 4217 C/C++ Header 18 215 225 638 make 1 40 82 71 XML 1 0 0 11 ------------------------------------------------------------------------------- SUM: 34 1112 1347 4937 ------------------------------------------------------------------------------- {{tag>software tools linux english}}