Kernel: Add linecount.sh script

This calculates the number of lines of code in the whole project :D
This commit is contained in:
Bananymous 2023-03-29 03:06:57 +03:00
parent ac094a48d6
commit 7f88ba70d4
1 changed files with 3 additions and 0 deletions

3
linecount.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
find . | grep -v 'sysroot' | grep -E '\.(cpp|h|S)$' | xargs wc -l | sort -n