This website requires JavaScript.
Explore
Help
Sign In
Bananymous
/
banan-os
Watch
1
Star
1
Fork
You've already forked banan-os
1
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
91c8f9a596
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