File: bugIFS.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 (14 lines) | stat: -rw-r--r-- 337 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set trace-co on
# Debugger test of an old IFS bug
#
### Going to the location where IFS should be reset in the code...
continue 5
e _Dbg_print_source_line 5
step
## Make sure IFS in an eval is the same as what we just set.
eval declare -p IFS
step 2
## Make sure PS4 in an eval is the same as what we just set.
eval declare -p PS4
quit