4 ms·
Not to derail this submission, but thanks for the consideration! See the first sentence at https://github.com/chmln/sd#comparison-to-sed https://github.com/chml
by chmln 8y ago
Not to derail this submission, but thanks for the consideration! See the first sentence at https://github.com/chmln/sd#comparison-to-sed https://github.com/chmln/sd#comparison-to-sed
tl;dr its only find & replace with smart defaults and easy, straightforward syntax because I hated wrangling with sed's quirks. For more features, you're better off with sed. But if you're like me and only really use sed for find/replace, you will have a good time with sd.
- asicsp 8y agooh ok, I missed that line ;) this is like 'tr' in syntax and simplicity, instead of character change, you have character-sequence change and regex has more features than sed grep already has equivalent ripgrep implemented in Rust, I think soon we will have holy trinity grep/sed/awk equivalents in Rust