mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
dc3bc40578
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>
5 lines
142 B
Plaintext
Executable File
5 lines
142 B
Plaintext
Executable File
# reject invalid vars
|
|
"$THIS_SH" -c 'echo ${1q}'
|
|
"$THIS_SH" -c 'echo ${&}'
|
|
#"$THIS_SH" -c 'echo ${$}' -- this is valid as it's the same as $$
|