Skip to content

Instantly share code, notes, and snippets.

@bobishh
Created January 10, 2018 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobishh/9fc3cce4cf69a5cd51fe9e19462930e3 to your computer and use it in GitHub Desktop.
Save bobishh/9fc3cce4cf69a5cd51fe9e19462930e3 to your computer and use it in GitHub Desktop.
String replacement perl oneliner for multiple files
perl -0777 -pi -e 's/CRAZY/REGEXP/g' *FILES*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment