Skip to content

Instantly share code, notes, and snippets.

@josegrad
Forked from nlively/rails_cloc.sh
Created July 1, 2013 21:55
Show Gist options
  • Save josegrad/5904988 to your computer and use it in GitHub Desktop.
Save josegrad/5904988 to your computer and use it in GitHub Desktop.
#!/bin/bash
find . \( -iname '*.rb' -o -iname '*.css' -o -iname '*.js' -o -iname '*.erb' -o -iname '*.html' -o -iname '*.haml' -o -iname '*.scss' -o -iname '*.coffee' \) -exec wc -l {} + | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment