This commit is contained in:
2025-10-15 15:23:18 +02:00
parent 04f8de3573
commit 1027067996
6 changed files with 14 additions and 9 deletions

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
cat "$1"/* | sed -e 's|//.*$||' -e 's|^[ \t]*||' | grep -v '^[ \t]*$' | awk '/\/\*/ {s=1} /\*\// && s==1 {s=0} !s' | grep -v '^.$' | grep -v '^..$' | grep -v '^...$' | wc -l