File: subshell2.cmd

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 (13 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
set trace-commands on
set showcommand on
### Test quit inside multi-statement line...
step 
step
step 2
### Should now be inside a subshell. Test from here...
p "BASH_SUBSHELL: $BASH_SUBSHELL"
### Test quit 0 2...
quit 0 2
### You shouldn't get here. Another just in case.
quit