Skip to content

Instantly share code, notes, and snippets.

@urbanautomaton
Created April 4, 2012 12:21
Show Gist options
  • Save urbanautomaton/2300752 to your computer and use it in GitHub Desktop.
Save urbanautomaton/2300752 to your computer and use it in GitHub Desktop.
#!/bin/bash
files=`find . -name "_*.haml" -or -name "*_helper.rb" -or -name "_*.erb"`
count=`egrep -o @ $files | wc -l`
echo "$count kittens cried because of this code"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment