/LineCalc

A Simple Script that calculates lines of code. It keeps calm while counting lines of Linux Kernel.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

License Line Calculator by Travor

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.

Installing

Clone this repo. Then type make install. At last type the command in your project directory to get surprise.

$ lines .