File: bug-args.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 (16 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set trace-commands on
# Debugger test to see that parameter handling of $1, $2, etc is correct.
p $#
p $5
step 2
# There should now be 5 args set and $5 should have a value
p $#
p $3
p $5
step
# There should now be 3 args set and $5 should not have a value
p $#
p $3
p $5
quit