Skip to content

Instantly share code, notes, and snippets.

Last active Sep 30, 2016
What would you like to do?
Dirty line count of the project in bash
# egrep or grep -e can be used
# gollabedit|golang-web|css was stuff to exclude
find $(pwd) | egrep -vi '/\.|gollabedit|golang-web|/css/|\.log' | xargs wc -l 2> /dev/null | sed "s|$PWD||"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment