fix globbing in unquoted $* and $@
This commit is contained in:
10
shell/hush_test/hush-vars/param_glob.tests
Executable file
10
shell/hush_test/hush-vars/param_glob.tests
Executable file
@@ -0,0 +1,10 @@
|
||||
if test $# = 0; then
|
||||
#BUG in builtin_exec! will glob param!
|
||||
#exec "$THIS_SH" "$0" 'param_glob.t*'
|
||||
"$THIS_SH" "$0" 'param_glob.t*'
|
||||
exit
|
||||
fi
|
||||
echo $*
|
||||
echo $@
|
||||
echo "$*"
|
||||
echo "$@"
|
||||
Reference in New Issue
Block a user