hush/shell/hush_test/hush-vars/star.tests

9 lines
217 B
Plaintext
Raw Normal View History

if test $# = 0; then
exec "$THIS_SH" star.tests 1 abc 'd e f'
fi
# 'd e f' should be split into 3 separate args:
for a in $*; do echo ".$a."; done
# must produce .1 abc d e f.
for a in "$*"; do echo ".$a."; done