Created
October 15, 2019 19:51
-
-
Save deevis/43bb7828e5a1e2d841792a5f240291bd to your computer and use it in GitHub Desktop.
Find all instance of a code string and when and by whom it was last edited
This file contains hidden or 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
| for f in `find . -iname "*.rb" | xargs grep "Searchflow\.call" | sed 's/\(.*.rb\):.*/\1/g' | uniq`; do echo -e "\n\n------------------- $f -------------------------";git blame $f | grep "Searchflow\.call" | sed 's/.*(\(.*\).*\(201.-..-..\).*\(Searchflow.call(api_alias:.*\), payload.*/\1 \2 \3/g'; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment