desed(1)
| DESED(1) | User Commands | DESED(1) |
NAME
desed - TUI debugger for sed scripts
SYNOPSIS
desed |
[OPTIONS] SED_SCRIPT INPUT_FILE |
DESCRIPTION
desed is a command line tool with beautiful TUI that provides users with a comfortable interface and a practical debugger, used to step through complex sed scripts.
OPTIONS
As desed operates by running sed internally, instead of connecting to a "live" instance, some of the program options are used to control the behaviour the internal sed instance.
sed options
- -n, --silent, --quiet
- Suppress automatic printing of pattern space.
- -E, --regexp-extended
- Use extended regular expressions in the script.
- --sandbox
- Operate in sandbox mode (disable e/r/w commands).
- -z, --null-data
- Separate lines by NUL characters.
desed options
- -v, --verbose
- This will enable various debug printing to stderr.
- --sed-path EXECUTABLE
- Instead of the system-wide sed install, use EXECUTABLE instead.
CONTROLS
- j, k, g, G
- Movement, just as in vim.
- b
- Toggle breakpoint.
- s, a
- Step forward / backwards.
- r
- Run to next breakpoint or end of script.
- R
- The same as r, but backwards.
- l
- Reload code and continue debugging in the same place as before.
- q
- Quit.
Similar to vim, most commands can be prefixed with numbers. The mouse can also be used to scroll through the script and toggle breakpoints.
BUGS
Report all bugs at https://github.com/SoptikHa2/desed. I know about the bugs that happen when sed script contains newlines. Sed parsing that causes this is currently under rewrite.
AUTHOR
Petr Šťastný <desed@soptik.tech> (from 2020-04-20) and plenty of others, from fixing typos to helping getting it to run under BSD. See repository for full list.
SEE ALSO
sed(1)
LICENCE
desed is available under the terms of the GNU General Public License, version 3 or any later version, as published by the Free Software Foundation.
| 2020-06-05 |
