Skip to content

Instantly share code, notes, and snippets.

@caingougou
Created June 21, 2012 02:50
Show Gist options
  • Select an option

  • Save caingougou/2963527 to your computer and use it in GitHub Desktop.

Select an option

Save caingougou/2963527 to your computer and use it in GitHub Desktop.
replace in file using perl
perl -p -i -e "s/[find]/[replace]/g" [files]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment