2 exec "$THIS_SH" var_subst_in_for.tests abc "d e"
5 echo 'Testing: in x y z'
6 for a in x y z; do echo ".$a."; done
8 echo 'Testing: in u $empty v'
10 for a in u $empty v; do echo ".$a."; done
12 echo 'Testing: in u " $empty" v'
14 for a in u " $empty" v; do echo ".$a."; done
16 echo 'Testing: in u $empty $empty$a v'
18 for a in u $empty $empty$a v; do echo ".$a."; done
20 echo 'Testing: in $a_b'
22 for a in $a_b; do echo ".$a."; done
25 for a in $*; do echo ".$a."; done
28 for a in $@; do echo ".$a."; done
30 echo 'Testing: in -$*-'
31 for a in -$*-; do echo ".$a."; done
33 echo 'Testing: in -$@-'
34 for a in -$@-; do echo ".$a."; done
36 echo 'Testing: in $a_b -$a_b-'
38 for a in $a_b -$a_b-; do echo ".$a."; done