Created
May 2, 2016 07:57
-
-
Save countless-integers/6d968e62d11b8806e0b7f80e0ddfc8e5 to your computer and use it in GitHub Desktop.
refactoring aid [WIP]
This file contains 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
#!/bin/bash | |
ag -l '$1' | xargs -I{} sed -ibak 's/$1/$2/' {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment