sad

CLI search and replace with preview, powered by diff

Search & Grep Python 替代 sed

sad is a CLI tool for batch file search and replace. It shows a diff preview before making changes and integrates with fd and ripgrep.

安装

brew brew install sad