summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-vars/param_expand_len.tests
blob: 90f47d2fb24218822861676c00681121e416c1ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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}