File: subshell3.right

package info (click to toggle)
bashdb 3.1.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,252 kB
  • ctags: 117
  • sloc: sh: 4,880; pascal: 3,186; lisp: 484; makefile: 315; ansic: 294
file content (21 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(subshell.sh:6):
6:	x=1; y=2; z=3
+set showcommand on
+### Test partial quit inside multi-statement line...
+step 
(subshell.sh:6):
6:	x=1; y=2; z=3
y=2
+step 
(subshell.sh:6):
6:	x=1; y=2; z=3
z=3
+### Next step should bring us inside a subshell. Test from there...
+step 2
(subshell.sh:7):
7:	(builtin cd  . ; x=`builtin echo *`; (builtin echo "ho") )
x=`builtin echo *`
+quit 0 1
ho
Debugged program terminated normally. Use q to quit or R to restart.
+quit