4 << ${name1?name 1 defined, |$name1|$name2|}
5 stat=2 result=name 1 defined, |name1-value||
6 << ${name1:name 1 undefined, |$name1|$name2|}
8 << ${name2?name 2 defined, |$name1|$name2|}
10 << ${name2:name 2 undefined, |$name1|$name2|}
11 stat=2 result=name 2 undefined, |name1-value||
13 stat=2 result=|name1-value||
15 unknown: warning: truncated macro reference: "$(name1"
18 unknown: warning: macro name syntax error: "name "
22 << name2 = name2-value
24 << ${name1?name 1 defined, |$name1|$name2|}
26 << ${name1:name 1 undefined, |$name1|$name2|}
27 stat=2 result=name 1 undefined, ||name2-value|
28 << ${name2?name 2 defined, |$name1|$name2|}
29 stat=2 result=name 2 defined, ||name2-value|
30 << ${name2:name 2 undefined, |$name1|$name2|}
33 stat=2 result=||name2-value|