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 fa8e921ee8
commit a4fb805315
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