Created
May 9, 2018 20:13
-
-
Save gerep/9134b1480b9b214fde7bb3347c5a2267 to your computer and use it in GitHub Desktop.
Using `sed` to replace string inside a 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
sed -i '/old text/ s//new text/g' gigantic_file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment