Skip to content

Instantly share code, notes, and snippets.

@msonnabaum
Created May 10, 2012 16:09
Show Gist options
  • Save msonnabaum/2654154 to your computer and use it in GitHub Desktop.
Save msonnabaum/2654154 to your computer and use it in GitHub Desktop.
function findfunc {
grep -rn "function $1(" *| grep -vP "tags|patch$"| awk -F':' '{print $1,$2}' |
while read FILE LINE
do
mvim +${LINE} ${FILE}
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment