projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add hush tests for parameter expansion
[oweals/busybox.git]
/
shell
/
hush_test
/
hush-vars
/
param_expand_len.tests
1
# make sure len parsing doesnt break arg count
2
set --
3
echo $# ${#}
4
set -- aaaa bbb cc d
5
echo $# ${#}
6
7
echo ${#1} ${#2} ${#3} ${#4} ${#5} ${#6}
8
9
unset e
10
f=abc
11
g=
12
echo ${#e} ${#f} ${#g}