File: multi2.right

package info (click to toggle)
bashdb 4.0.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,820 kB
  • ctags: 942
  • sloc: sh: 10,581; lisp: 885; makefile: 449; ansic: 325
file content (20 lines) | stat: -rw-r--r-- 403 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
(multi.sh:6):
6:	x=1; y=2; z=3
+set showcommand 1
+#### Test step inside multi-statement line...
+step 
(multi.sh:6):
6:	x=1; y=2; z=3
y=2
+step 
(multi.sh:6):
6:	x=1; y=2; z=3
z=3
+step 2
(multi.sh:7):
7:	(builtin cd  . ; x=`builtin echo *`; (builtin echo "ho") )
x=`builtin echo *`
+#### Should now be inside a subshell. Test from here...
+p "BASH_SUBSHELL: $BASH_SUBSHELL"
BASH_SUBSHELL: 1
+quit 0 2