1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 05:15:24 +02:00

Adding a line for sed for making multiple replacements in one command.

This commit is contained in:
James H. Linder 2014-03-27 14:27:35 -04:00
parent c92c84e2df
commit 1efb6b906d

View file

@ -14,3 +14,8 @@
- 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}}`