projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
hush: fix "hush -c 'echo $#'" showing -1
[oweals/busybox.git]
/
shell
/
hush_test
/
hush-vars
/
param_expand_len.tests
1
"$THIS_SH" -c 'echo $#'
2
"$THIS_SH" -c 'echo $#' arg0
3
"$THIS_SH" -c 'echo $#' arg0 arg1
4
5
echo Make sure len parsing doesnt break arg count
6
set --
7
echo $# ${#}
8
set -- aaaa bbb cc d
9
echo $# ${#}
10
11
echo Testing len op
12
echo ${#1} ${#2} ${#3} ${#4} ${#5} ${#6}
13
14
unset e
15
f=abc
16
g=
17
echo ${#e} ${#f} ${#g}