desed
Project: https://github.com/SoptikHa2/desed
Author: Petr Šťastný
Alternative to: sed
Language: Rust
This page last updated:
desed is a terminal-based debugger for sed scripts that helps you understand and fix complex sed programs. It provides an interactive environment to step through sed execution, inspect variables, and test substitutions.
Features
- Step through sed scripts forward and backward
- Preview variable values in sed patterns
- Preview the effects of substitute commands before execution
- Set breakpoints to pause execution at specific points
- Hot reload code while debugging
- Interactive TUI with Vim-like controls
Basic usage
# Debug a sed script interactively.
desed script.sed
# Debug sed commands directly.
desed 's/pattern/replacement/'