busybox/shell/hush_test/hush-vars/param_glob.tests
Denys Vlasenko 3ef4f77620 hush: fix exec builtin in a better way (+ "glob in exec" bug fixed)
function                                             old     new   delta
execvp_or_die                                          -      50     +50
static.pseudo_null_str                                 3       -      -3
builtin_exec                                          83      57     -26
pseudo_exec_argv                                     200     163     -37
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/2 up/down: 50/-66)            Total: -16 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-19 23:09:06 +02:00

10 lines
129 B
Plaintext
Executable File

if test $# = 0; then
exec "$THIS_SH" "$0" 'param_glob.t*'
echo NOT SHOWN
exit
fi
echo $*
echo $@
echo "$*"
echo "$@"