← Back to tools

sad

CLI search and replace with diff preview before committing changes

Version Control linuxmacos Rust MIT

Description

sad is a CLI search and replace tool that shows you a nice diff of proposed changes before you commit them. It integrates with fzf for interactive selection and provides a safe search-and-replace workflow.

AI Summary

Safe CLI search and replace with diff preview before applying changes

Capabilities

  • + Search and replace across files
  • + Preview changes as diffs
  • + Interactive selection with fzf
  • + Safe workflow with confirmation

Use When

  • When doing search and replace with change preview
  • When you want to review replacements before applying

Avoid When

  • x When you want fully automated replacement

Related Tools

View AGENTS.md for sad