busybox/shell/hush_test/hush-vars/param_expand_len.tests

13 lines
184 B
Plaintext
Raw Normal View History

2009-03-29 00:25:34 +05:30
# make sure len parsing doesnt break arg count
set --
echo $# ${#}
set -- aaaa bbb cc d
echo $# ${#}
echo ${#1} ${#2} ${#3} ${#4} ${#5} ${#6}
unset e
f=abc
g=
echo ${#e} ${#f} ${#g}