Last change
on this file since 3869 was 3320, checked in by Bruno Cornec, 10 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:
814 bytes
|
Rev | Line | |
---|
[3320] | 1 | if test $# = 0; then
|
---|
| 2 | exec "$THIS_SH" var_subst_in_for.tests abc "d e"
|
---|
| 3 | fi
|
---|
| 4 |
|
---|
| 5 | echo 'Testing: in x y z'
|
---|
| 6 | for a in x y z; do echo ".$a."; done
|
---|
| 7 |
|
---|
| 8 | echo 'Testing: in u $empty v'
|
---|
| 9 | empty=''
|
---|
| 10 | for a in u $empty v; do echo ".$a."; done
|
---|
| 11 |
|
---|
| 12 | echo 'Testing: in u " $empty" v'
|
---|
| 13 | empty=''
|
---|
| 14 | for a in u " $empty" v; do echo ".$a."; done
|
---|
| 15 |
|
---|
| 16 | echo 'Testing: in u $empty $empty$a v'
|
---|
| 17 | a='a'
|
---|
| 18 | for a in u $empty $empty$a v; do echo ".$a."; done
|
---|
| 19 |
|
---|
| 20 | echo 'Testing: in $a_b'
|
---|
| 21 | a_b='a b'
|
---|
| 22 | for a in $a_b; do echo ".$a."; done
|
---|
| 23 |
|
---|
| 24 | echo 'Testing: in $*'
|
---|
| 25 | for a in $*; do echo ".$a."; done
|
---|
| 26 |
|
---|
| 27 | echo 'Testing: in $@'
|
---|
| 28 | for a in $@; do echo ".$a."; done
|
---|
| 29 |
|
---|
| 30 | echo 'Testing: in -$*-'
|
---|
| 31 | for a in -$*-; do echo ".$a."; done
|
---|
| 32 |
|
---|
| 33 | echo 'Testing: in -$@-'
|
---|
| 34 | for a in -$@-; do echo ".$a."; done
|
---|
| 35 |
|
---|
| 36 | echo 'Testing: in $a_b -$a_b-'
|
---|
| 37 | a_b='a b'
|
---|
| 38 | for a in $a_b -$a_b-; do echo ".$a."; done
|
---|
| 39 |
|
---|
| 40 | echo Finished
|
---|
Note:
See
TracBrowser
for help on using the repository browser.