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 18:16:43 +0000 (14:16 -0400)
commitdc3bc40578e0d9a4f4437d5b9018c1dd02900584
treef6ac1edd6f84a81fdda2a84ac29d06a0181904d0
parentff64fb9e3100ff89446b54af3ef80cd86d4730f5
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