3 ms·
Shameless plug - I also wrote https://github.com/chmln/sd https://github.com/chmln/sd to replace my use of sed.
by chmln 7y ago
Shameless plug - I also wrote https://github.com/chmln/sd https://github.com/chmln/sd to replace my use of sed.
- saagarjha 7y ago> While sed does a whole lot more, sd focuses on doing just one thing and doing it well. I'm sure you already know this, but sed is meant to provide the features that ed does, so sd is quite a bit more limited. Still, I can see how this can be useful, as most invocations of sed end up only really using a handful of its features.
- chmln 7y agoYeah, there's no hiding that, the fact that it's a find & replace CLI is declared upfront. Although personally, I've only really used sed for find & replace so sd solved my gripes with sed perfectly.
- Ultimatt 7y agoalias sd="perl -pe"