|
Last change
on this file since 3377 was 3320, checked in by Bruno Cornec, 11 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
|
File size:
295 bytes
|
| Line | |
|---|
| 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}
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.