This website requires JavaScript.
Explore
Help
Sign In
Sinipelto
/
banan-os
forked from
Bananymous/banan-os
Watch
1
Star
0
Fork
You've already forked banan-os
0
Code
Pull Requests
Activity
f0058e67c2
banan-os
/
linecount.sh
4 lines
98 B
Bash
Raw
Normal View
History
Unescape
Escape
Kernel: Add linecount.sh script This calculates the number of lines of code in the whole project :D
2023-03-29 03:06:57 +03:00
#!/bin/sh
Scripts: linecount does not count lines from toolchain/
2023-04-06 12:37:11 +03:00
find .
|
grep -vE
'(build|toolchain)'
|
grep -E
'\.(cpp|h|S)$'
|
xargs wc -l
|
sort -n