Skip to content

Instantly share code, notes, and snippets.

@philcrissman
Last active August 29, 2015 13:58
Show Gist options
  • Save philcrissman/10075053 to your computer and use it in GitHub Desktop.
Save philcrissman/10075053 to your computer and use it in GitHub Desktop.
Who's leaving all those TODOs in the code, anyways?
grep -rn TODO app lib test | awk '{print $1}' | awk 'BEGIN {FS=":";OFS=""};{print "git blame -L ",$2,",",$2," -- ",$1}'| while read line; do eval $line; done | awk '{print $2,$3}' | sed 's|(||g|' | sort | uniq -c | sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment