sd
MIT intentional sed subset — search & displace
Rust / Terminal · OSS/MIT · 7.4k
Reviewed 2026-09-12 · last push 2026-02-25 · repo checked 2026-10-19
What's Good
MIT. chmln/sd. Literal-first (and regex) search & displace with a short CLI, preview (`-p`), and sensible escaping. Complements ripgrep/fd for the replace step after you found the hit. Source github.com/chmln/sd.
The Catch
Vs sed: intentional *subset*, not a full sed dialect — no sed scripts, hold space, or every GNU extension. Vs ripgrep (search) and fd (names): sd *rewrites*, it does not search a tree or find filenames. Keep sed for the ancient one-liners that already work.
Verdict
MIT sed subset. Free forever; replace text without relearning sed.
Embed
Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.
Markdown
[](https://stackgems.com/gems/sd)
HTML
<a href="https://stackgems.com/gems/sd"><img src="https://stackgems.com/badge/sd.svg" alt="sd reviewed on Stack Gems" height="20"></a>
Related
Rust →- ZellijMIT Rust terminal workspace with layouts and plugins
- ripgrepUnlicense/MIT recursive grep that respects .gitignore
- batMIT/Apache-2.0 cat clone with syntax highlighting and Git integration
- fdMIT/Apache-2.0 ignore-aware parallel filename find
- gumMIT scriptable prompts, filters, and spinners for shell UX