dbg-test1.sh

来自「bash debugger. You can use this tool to 」· Shell 代码 · 共 39 行

SH
39
字号
#!/usr/bin/env bash# Note: no CVS Id line since it would mess up regression testing.# This code is used for various debugger testing.fn1() {    echo "fn1 here"    x=5    fn3}    fn2() {    name="fn2"    echo "$name here"    x=6}    fn3() {    name="fn3"    x=$1}    x=22y=23for i in 0 1 3 ; do  ((x += i))donex=27y=bx=29echo $(fn3 30)fn3 31fn1;fn3 33source dbg-test1.subexit 0;#;;; Local Variables: ***#;;; mode:shell-script ***#;;; End: ***

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?