diff --git a/pages/common/sed.md b/pages/common/sed.md index 338a77e21c..87c4d0b4fa 100644 --- a/pages/common/sed.md +++ b/pages/common/sed.md @@ -14,3 +14,9 @@ - replace all occurrences of an extended regular expression in a file `sed -E 's/{{regex}}/{{replace}}/g' {{filename}}` + +- replace all occurrences of multiple strings in a file + +`sed -e 's/{{find}}/{{replace}}/g' -e 's/{{find}}/{{replace}}/g' {{filename}}` + +