mirror of
https://github.com/chmln/sd
synced 2024-11-25 20:40:22 +00:00
Update README.md
This commit is contained in:
parent
fd5b592253
commit
996ab4b9fa
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ Find & replace expressions are split up and in most cases unescaped, which contr
|
|||
|
||||
## Comparison to sed
|
||||
|
||||
While sed is frighteningly powerful, `sd` focuses on doing just one thing and doing it well.
|
||||
|
||||
Some cherry-picked examples, where `sd` shines:
|
||||
- Replace newlines with commas:
|
||||
- sed: `sed ':a;N;$!ba;s/\r/,/g'` vs
|
||||
|
|
Loading…
Reference in a new issue