1(skip.sh:22): 222: x=22 3+# Set initial value of x 4+next 5(skip.sh:23): 623: x=23 7+# Test skip command 8+# 9+pr "x is $x" 10x is 22 11+# Try a skip command... 12+skip 13(skip.sh:24): 1424: for i in 1 ; do 15+pr "x is still $x" 16x is still 22 17+# ** Try skipping over a for loop... 18+skip 19(skip.sh:27): 2027: x=27 21+pr "x is still $x" 22x is still 22 23+# Try skip with a count with backtick ... 24+skip 2 25(skip.sh:29): 2629: fn3 29 27+pr "x is still $x" 28x is still 22 29+# ** Try skipping over a function call 30+skip 31(skip.sh:30): 3230: fn1; 33+pr "x is still $x" 34x is still 22 35+# Try skipping over another function call (with ;) at end 36+skip 37(skip.sh:31): 3831: fn3 31 39+next 40(skip.sh:32): 4132: case x in 42+pr "x is now $x" 43x is now 31 44+# Try skip over a case 45+skip 46(skip.sh:35): 4735: [[ -z "x" ]] && x=35 48+# Try skip over first part of && expression 49+skip 50(skip.sh:35): 5135: [[ -z "x" ]] && x=35 52x=35 53+pr "x is still $x" 54x is still 31 55+# skip over arith expression 56+skip 57(skip.sh:36): 5836: ((x += 1)) 59+pr "x is still $x" 60x is still 31 61+skip 62(skip.sh:37): 6337: source dbg-test1.sub 64+pr "*** quitting..." 65*** quitting... 66+quit 67bashdb: That's all, folks... 68