restore short option -i per discussion in #293

This commit is contained in:
Waldir Pimenta
2015-08-25 00:56:09 +01:00
parent 0348a644de
commit a92aec7dc0

View File

@@ -6,10 +6,9 @@
`sed 's/{{find}}/{{replace}}/' {{filename}}`
- replace all occurrences of a string in a file, overwriting the file
contents
- replace all occurrences of a string in a file, overwriting the file (i.e. in-place)
`sed --in-place 's/{{find}}/{{replace}}/g' {{filename}}`
`sed -i 's/{{find}}/{{replace}}/g' {{filename}}`
- replace all occurrences of an extended regular expression in a file