-
-
Save julien-meichelbeck/38757eea99b5ea84626db119b44ccfae to your computer and use it in GitHub Desktop.
Dead code hunter!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk '/def / {print}' app/helpers/* | awk -F \( '{print $1}' | awk '{print $2}' | while read i ; do num=$(grep -ro $i app/ | wc -l) ; if [ $num -eq 1 ] ; then echo $i ; fi ;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment