sd
Intuitive find & replace CLI, a sed alternative
Search & Grep
Rust
replaces sed
sd is a simpler, more intuitive find-and-replace tool. It uses string-literal and regex syntax that is easier than sed.
Install
brew
brew install sd
cargo
cargo install sd
Demos
Related Tools
ack
A grep-like tool designed for searching source code
ast-grepA fast and polyglot tool for code structural search and rew…
grepThe classic Unix pattern matching utility
ripgrepBlazingly fast recursive search tool that respects gitignore
sadCLI search and replace with preview, powered by diff
The Silver SearcherA code searching tool similar to ack, but faster
ugrepUltra fast grep with interactive TUI, fuzzy search, and more