repo.or.cz
/
bush.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
init version.
[bush.git]
/
tests
/
6.cmd
/
set-x
/
set-x.right
blob
4ab90f923893928875a21ff3aa383137135c707b
1
+ (( i=0 ))
2
+ (( i<=5 ))
3
+ x=0
4
+ (( i++ ))
5
+ (( i<=5 ))
6
+ x=0
7
+ (( i++ ))
8
+ (( i<=5 ))
9
+ x=0
10
+ (( i++ ))
11
+ (( i<=5 ))
12
+ x=0
13
+ (( i++ ))
14
+ (( i<=5 ))
15
+ x=0
16
+ (( i++ ))
17
+ (( i<=5 ))
18
+ x=0
19
+ (( i++ ))
20
+ (( i<=5 ))
21
+ for i in 0 1 2
22
+ x=i
23
+ for i in 0 1 2
24
+ x=i
25
+ for i in 0 1 2
26
+ x=i
27
+ case x in
28
+ x=i
29
+ foo=one
30
+ foo+=two
31
+ echo onetwo
32
onetwo
33
+ set +x
34
1
35
2
36
3
37
4
38
+ for f in a b c d e
39
+ echo a
40
a
41
+ for f in a b c d e
42
+ echo b
43
b
44
+ for f in a b c d e
45
+ echo c
46
c
47
+ for f in a b c d e
48
+ echo d
49
d
50
+ for f in a b c d e
51
+ echo e
52
e
53
+ set +x
54
TRACEFILE:
55
+ echo 1
56
+ echo 2
57
+ echo 3
58
+ echo 4
59
+ unset BUSH_XTRACEFD
60
=====