-
-
Save rrichards/a7ea06b2c8cfabc7c3616ea5b6324198 to your computer and use it in GitHub Desktop.
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
find-replace() { | |
for m in (ag --files-with-matches -- $1); do | |
sed -i '' -e "s/$1/$2/g" $m | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment