Skip to content

Instantly share code, notes, and snippets.

@fiskus
Created September 11, 2012 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fiskus/3698225 to your computer and use it in GitHub Desktop.
Save fiskus/3698225 to your computer and use it in GitHub Desktop.
find extended objects
#!/bin/bash
CLASS=`cat $1 | grep -P '(OTA.[^.]*) = function' | cut -f1 -d'=' | sed 's/^ *//;s/ *$//'`
git grep "OTA\.extend(OTA\..*, $CLASS)" | grep -oP '\(\KOTA\.([^,]*)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment