From 7f88ba70d4da912991092ee940f13b42d13560d3 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Wed, 29 Mar 2023 03:06:57 +0300 Subject: [PATCH] Kernel: Add linecount.sh script This calculates the number of lines of code in the whole project :D --- linecount.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 linecount.sh diff --git a/linecount.sh b/linecount.sh new file mode 100755 index 0000000000..27c84728ed --- /dev/null +++ b/linecount.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +find . | grep -v 'sysroot' | grep -E '\.(cpp|h|S)$' | xargs wc -l | sort -n