Last active
December 21, 2015 21:39
-
-
Save jweaver/6369351 to your computer and use it in GitHub Desktop.
Perl pie. Replace strings across files.
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
$ perl -pi -e '<some replacement regular expression>' <file or files> | |
# Example | |
$ perl -pi -e 's/src/build/g' * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment