Merge pull request #332 from ostera/patch-1

Update sed.md
This commit is contained in:
Ruben Vereecken
2015-11-23 11:00:01 -08:00

View File

@@ -9,7 +9,7 @@
- replace all occurrences of a string in a file, and overwrite the file - replace all occurrences of a string in a file, and overwrite the file
contents contents
`sed -i '' 's/{{find}}/{{replace}}/g' {{filename}}` `sed -i 's/{{find}}/{{replace}}/g' {{filename}}`
- replace all occurrences of an extended regular expression in a file - replace all occurrences of an extended regular expression in a file