banan-os/linecount.sh

4 lines
87 B
Bash
Raw Normal View History

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