https://github.com/labwc/labwc-loc-graph
https://github.com/labwc/labwc-loc-graph
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/labwc/labwc-loc-graph
- Owner: labwc
- License: gpl-2.0
- Created: 2022-10-06T20:29:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T21:20:47.000Z (3 months ago)
- Last Synced: 2025-03-05T22:28:48.523Z (3 months ago)
- Language: Shell
- Size: 1.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What is this?
A couple of simple scripts that plot lines of C code in src/ versus time
using gnuplot.# Usage
Copy `count.sh` to a clean `labwc` repo checked out at master.
Run
```
./count.sh $(head -n 1 /path/to/data.txt | awk '{ print $1 }') >> tmp.txt
```Copy the contents of `tmp.txt` to the top of `data.txt`
Run `./plot.sh` and then view graph.png
# Output
![]()