Update README.md

This commit is contained in:
Gregory 2018-12-23 19:46:02 -05:00 committed by GitHub
parent fd5b592253
commit 996ab4b9fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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