diff --git a/pages/common/sed.md b/pages/common/sed.md index 51b1dcc226..8594dcaf68 100644 --- a/pages/common/sed.md +++ b/pages/common/sed.md @@ -21,3 +21,7 @@ - Apply multiple find-replace expressions to a file: `sed -e 's/{{find}}/{{replace}}/' -e 's/{{find}}/{{replace}}/' {{filename}}` + +- Replace separator / by any other character not used in your string, e.g., #: + +`sed 's#{{find}}#{{replace}}#' {{filename}}`