Skip to content

Instantly share code, notes, and snippets.

@rbarzic
Created January 2, 2019 20:22
Show Gist options
  • Save rbarzic/cee27283d4a43bec2170d4aeb66a6cb0 to your computer and use it in GitHub Desktop.
Save rbarzic/cee27283d4a43bec2170d4aeb66a6cb0 to your computer and use it in GitHub Desktop.
Perl in-place replacement
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