vardebug.exp revision 1.5 1 Global:RELEVANT = yes
2 Global:VAR = added
3 Global:VAR = overwritten
4 Global:delete VAR
5 Global:delete VAR (not found)
6 Applying ${:U} to "" (eflags = VARE_WANTRES, vflags = VAR_JUNK)
7 Result of ${:U} is "" (eflags = VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
8 Var_Set("${:U}", "empty name", ...) name expands to empty string - ignored
9 Applying ${:U} to "" (eflags = VARE_WANTRES, vflags = VAR_JUNK)
10 Result of ${:U} is "" (eflags = VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
11 Var_Append("${:U}", "empty name", ...) name expands to empty string - ignored
12 Global:FROM_CMDLINE = overwritten ignored!
13 Global:VAR = 1
14 Global:VAR = 1 2
15 Global:VAR = 1 2 3
16 Applying ${VAR:M...} to "1 2 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
17 Pattern[VAR] for [1 2 3] is [[2]]
18 ModifyWords: split "1 2 3" into 3 words
19 VarMatch [1] [[2]]
20 VarMatch [2] [[2]]
21 VarMatch [3] [[2]]
22 Result of ${VAR:M[2]} is "2" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
23 Applying ${VAR:N...} to "1 2 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
24 Pattern[VAR] for [1 2 3] is [[2]]
25 ModifyWords: split "1 2 3" into 3 words
26 Result of ${VAR:N[2]} is "1 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
27 Applying ${VAR:S...} to "1 2 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
28 Modifier part: "2"
29 Modifier part: "two"
30 ModifyWords: split "1 2 3" into 3 words
31 Result of ${VAR:S,2,two,} is "1 two 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
32 Applying ${VAR:Q} to "1 2 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
33 QuoteMeta: [1\ 2\ 3]
34 Result of ${VAR:Q} is "1\ 2\ 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
35 Applying ${VAR:t...} to "1 2 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
36 Result of ${VAR:tu} is "1 2 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
37 Applying ${VAR:t...} to "1 2 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
38 Result of ${VAR:tl} is "1 2 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
39 Applying ${VAR:Q} to "1 2 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
40 QuoteMeta: [1\ 2\ 3]
41 Result of ${VAR:Q} is "1\ 2\ 3" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = none)
42 Applying ${:U...} to "" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK)
43 Result of ${:Uvalue} is "value" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
44 Applying ${:U...} to "" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK)
45 Result of ${:UM*e} is "M*e" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
46 Indirect modifier "M*e" from "${:UM*e}"
47 Applying ${:M...} to "value" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
48 Pattern[] for [value] is [*e]
49 ModifyWords: split "value" into 1 words
50 VarMatch [value] [*e]
51 Result of ${:M*e} is "value" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
52 Applying ${:M...} to "value" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
53 Pattern[] for [value] is [valu[e]]
54 ModifyWords: split "value" into 1 words
55 VarMatch [value] [valu[e]]
56 Result of ${:Mvalu[e]} is "value" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
57 Applying ${:U...} to "" (eflags = VARE_WANTRES, vflags = VAR_JUNK)
58 Result of ${:UVAR} is "VAR" (eflags = VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
59 Global:delete VAR
60 Applying ${:U...} to "" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK)
61 Result of ${:Uvariable} is "variable" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
62 Applying ${:u...} to "variable" (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
63 make: Unknown modifier 'u'
64 Result of ${:unknown} is error (eflags = VARE_UNDEFERR|VARE_WANTRES, vflags = VAR_JUNK|VAR_KEEP)
65 make: "vardebug.mk" line 44: Malformed conditional (${:Uvariable:unknown})
66 make: "vardebug.mk" line 53: Malformed conditional (${UNDEFINED})
67 Global:RELEVANT = no
68 exit status 1
69