-
-
Save nsahoo/e28ed974bb4756554b821bcae3e0bd3c to your computer and use it in GitHub Desktop.
perl script to replace a particular string throughout the file
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/5000000/5000/g" *.py | |
and back again | |
perl -pi -e "s/5000/5000000/g" *.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment