Skip to content

Instantly share code, notes, and snippets.

@Fluxx
Created June 27, 2013 17:50
Show Gist options
  • Select an option

  • Save Fluxx/5878691 to your computer and use it in GitHub Desktop.

Select an option

Save Fluxx/5878691 to your computer and use it in GitHub Desktop.
#!/bin/bash
unique_func_names=`grep -huRPo "def \w+" disqus | cut -d ' ' -f 2 | sort | uniq`
for func in $unique_func_names ; do
num_found=$(grep -r $func disqus | grep -v "def " | wc -l)
if [[ num_found -lt "0" ]]; then
echo $num_found $func
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment