mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-30 20:17:57 +01:00
Merge branch 'sed' of git://github.com/jlinder/tldr into jlinder-sed
This commit is contained in:
commit
e0f91ae4a8
1 changed files with 5 additions and 0 deletions
|
@ -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}}`
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue