hush: treat ${#?} as "length of $?"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"$THIS_SH" -c 'echo ${:?}'
|
||||
|
||||
# then some funky ones
|
||||
# note: bash prints 1 - treats it as "length of $#"? We print 0
|
||||
# note: bash prints 1 - treats it as "length of $#"
|
||||
"$THIS_SH" -c 'echo ${#?}'
|
||||
# bash prints 0
|
||||
"$THIS_SH" -c 'echo ${#:?}'
|
||||
|
||||
Reference in New Issue
Block a user