banan-os/linecount.sh

4 lines
85 B
Bash
Executable File

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