This is a lightweight but efficient line calculator that calculates lines of C
, Assembly
, and Makefile
code. It's invented when I am developing my OS (In order to count lines of code). I use it to count the lines of linux-0.11
, and there are 13840 lines of code in linux 0.11!! Well. This line calculator is written in Shell
, so it will be running properly on every UNIX-like systems as long as the system has find
and wc
.
Clone this repo. Then type make install
. At last type the command in your project directory to get surprise.
$ lines .