busybox/shell/hush_test/hush-bugs/quote3.tests
Denis Vlasenko 03eb8bf6ce hush: move towards more correct variable expansion
hush: fix a few cases in FOR v IN ... construct
      unfortunately, code growth is big - ~600 bytes
2007-05-14 16:19:34 +00:00

13 lines
279 B
Plaintext

if test $# = 0; then
exec "$THIS_SH" quote3.tests abc "d e"
fi
echo 'Testing: in $empty""'
empty=''
for a in $empty""; do echo ".$a."; done
echo 'Testing: in "$*"'
for a in "$*"; do echo ".$a."; done
echo 'Testing: in "$@"'
for a in "$@"; do echo ".$a."; done
echo Finished