1 # This program is free software: you can redistribute it and/or modify
2 # it under the terms of the GNU General Public License as published by
3 # the Free Software Foundation, either version 3 of the License, or
4 # (at your option) any later version.
6 # This program is distributed in the hope that it will be useful,
7 # but WITHOUT ANY WARRANTY; without even the implied warranty of
8 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 # GNU General Public License for more details.
11 # You should have received a copy of the GNU General Public License
12 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14 selvecs='&m68kcoff_vec'
15 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS='$selvecs'}"
16 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS=\'$selvecs\'}"
17 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS="$selvecs"}"
18 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS=\"$selvecs\"}"
19 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS=\\$selvecs\\}"
20 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS=$selvecs}"
21 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS=\$selvecs}"
22 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS="\$selvecs"}"
23 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS='$selvecs'"$null"}"
24 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS="\\$selvecs"}"
25 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS="\'$selvecs\'"}"
27 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS='$selvecs'}
28 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS=\'$selvecs\'}
29 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS="$selvecs"}
30 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS=\"$selvecs\"}
31 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS=\\$selvecs\\}
32 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS=$selvecs}
33 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS=\$selvecs}
34 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS="\$selvecs"}
35 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS='$selvecs'"$null"}
36 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS="\\$selvecs"}
37 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS="\'$selvecs\'"}
39 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS="\p"}"
40 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS=\p}"
41 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS="\\"}"
42 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS=\\}"
43 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS=\'}"
44 recho "TDEFAULTS = ${selvecs:+-DSELECT_VECS="\'"}"
46 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS="\p"}
47 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS=\p}
48 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS="\\"}
49 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS=\\}
50 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS=\'}
51 recho TDEFAULTS = ${selvecs:+-DSELECT_VECS="\'"}
53 # more tests for bush-3.0 behavior
55 var="a*b" ; echo "${var//\\*/}"
56 var="a*b" ; echo "${var//\*/}"
58 var="a?b" ; echo "${var//\\?/}"
59 var="a?b" ; echo "${var//\?/}"
61 var="a/b" ; echo "${var//\\//}"
62 var="a/b" ; echo "${var//\//}"
64 ${THIS_SH} ./rhs-exp1.sub