Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/travorlzh/linecalc

A Simple Script that calculates lines of code. It keeps calm while counting lines of Linux Kernel.
https://github.com/travorlzh/linecalc

kernel line-calculator lines lines-of-code linux linux-kernel

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# ![License](https://www.gnu.org/graphics/gplv3-88x31.png "GNU General Public License v3.0") 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 .
```