Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
SHELL: line 1: syntax error: bad substitution
SHELL: line 1: syntax error: bad substitution
SHELL: line 1: syntax error: missing '}'
+0
1 =||
1:1 =||
1:1:2=||
"$THIS_SH" -c 'echo ${var:}' SHELL
# then some funky ones
-# UNFIXED BUG: this should work: "$THIS_SH" -c 'echo ${?:0}'
+"$THIS_SH" -c 'echo ${?:0}' SHELL
# now some valid ones
set --; echo "1 =|${1}|"
hush: syntax error: unterminated ${name}
hush: syntax error: unterminated ${name}
0123456789
+0
1 =||
1:1 =||
1:1:2=||
"$THIS_SH" -c 'echo ${var:}' SHELL
# then some funky ones
-# UNFIXED BUG: this should work: "$THIS_SH" -c 'echo ${?:0}'
+"$THIS_SH" -c 'echo ${?:0}' SHELL
# now some valid ones
set --; echo "1 =|${1}|"