File: next.cmd

package info (click to toggle)
zshdb 0.05%2Bgit20101031-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,104 kB
  • sloc: sh: 5,563; makefile: 337
file content (42 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
set trace-commands on
set basename on
# Make sure autostep is off for next text
set force off
show force
next
where 1
n
where 1
# Test that next+ skips multiple statements
next+
where 1
# Same thing - but should stop at 2nd statement in line
next 
where 1
next
where 1
# Now check with set force on
set force on
show force
next
where 1
# Override force
next-
where 1
n-
where 1
# A null command should use the last next

where 1

next 
where 1
# Try a null command the other way
n+
where 1

where 1
quit