Created
February 19, 2015 15:49
-
-
Save thebouv/0839b575a2cccafac44a to your computer and use it in GitHub Desktop.
Perl one-liner to regex replace string stuff on file(s)
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 's/you/me/g' file | |
# works with *html or any extension to do all in current directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment