banan-os/linecount.sh

4 lines
85 B
Bash
Raw Normal View History

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