hush: add support for special vars in braces
authorMike Frysinger <vapier@gentoo.org>
Mon, 1 Jun 2009 18:09:09 +0000 (14:09 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 1 Jun 2009 20:01:28 +0000 (16:01 -0400)
commitb6bca7703bbe6aacec0bda964c82fad389a02b69
tree59696310ddbfbc919c99aca7704243d5a55773d8
parent77508d70bfa9c50477479af176ff41e9443d4f67
hush: add support for special vars in braces

Some people like to use ${?} rather than $?, so make sure we support all
the special single char vars that use this form.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
shell/hush.c
shell/hush_test/hush-vars/param_expand_indicate_error.right
shell/hush_test/hush-vars/param_expand_indicate_error.tests
shell/hush_test/hush-vars/var1.right
shell/hush_test/hush-vars/var1.tests
shell/hush_test/hush-vars/var3.right
shell/hush_test/hush-vars/var3.tests