banan-os/linecount.sh

4 lines
100 B
Bash
Executable File

#!/bin/bash
find . | grep -vE '(build|toolchain)' | grep -E '\.(cpp|h|S)$' | xargs wc -l | sort -n