bashdb
来自「linux脚本编程的例子」· 代码 · 共 30 行
TXT
30 行
# bashdb - a bash debugger# Driver Script: concatenates the preamble and the target script# and then executes the new script.echo 'Bash Debugger version 1.0'_dbname=${0##*/}if (( $# < 1 )) ; then echo "$_dbname: Usage: $_dbname filename" >&2 exit 1fi_guineapig=$1if [ ! -r $1 ]; then echo "$_dbname: Cannot read file '$_guineapig'." >&2 exit 1fishift_tmpdir=/tmp_libdir=._debugfile=$_tmpdir/bashdb.$$ # temporary file for script being debuggedcat $_libdir/bashdb.pre $_guineapig > $_debugfileexec bash $_debugfile $_guineapig $_tmpdir $_libdir "$@"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?