Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/travorlzh/linecalc
- Owner: TravorLZH
- License: gpl-3.0
- Created: 2017-12-26T10:22:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-17T19:10:20.000Z (about 5 years ago)
- Last Synced: 2023-10-25T15:04:54.053Z (about 1 year ago)
- Topics: kernel, line-calculator, lines, lines-of-code, linux, linux-kernel
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
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 .
```