banan-os/linecount.sh

4 lines
98 B
Bash
Executable File

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