Created
January 2, 2019 20:22
-
-
Save rbarzic/cee27283d4a43bec2170d4aeb66a6cb0 to your computer and use it in GitHub Desktop.
Perl in-place replacement
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 -p -i -e "s/$(ORIGINAL_STRING)/$(NEW_STRING)/g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment