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