mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
sed.md: use alternative separators (#806)
This commit is contained in:
parent
2045afb9aa
commit
4915aa3b8b
1 changed files with 4 additions and 0 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue