mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-15 14:59:36 +03:00
Merge branch 'sed' of git://github.com/jlinder/tldr into jlinder-sed
This commit is contained in:
commit
e0f91ae4a8
@ -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 New Issue
Block a user