]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/new-exp3.sub
Bash-5.2-rc4 release
[thirdparty/bash.git] / tests / new-exp3.sub
CommitLineData
8868edaf
CR
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.
5#
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.
10#
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/>.
13#
bb70624e
JA
14:
15# Set up some dummy variables beginning with _Q
16_QUANTITY=
17_QUOTA=
18_QUOTE=
19_QUILL=
20_QUEST=
21_QUART=
22
23recho ${!_Q*}
a0c0a00f 24recho ${!_Q@} # compatibility
bb70624e
JA
25
26IFS="-$IFS"
27
28recho ${!_Q*}
29recho "${!_Q*}"
30
a0c0a00f
CR
31recho ${!_Q@}
32recho "${!_Q@}"
33
bb70624e
JA
34recho ${!_Y*}
35
36recho "${!_Q* }"
37
38IFS=$' \t\n'
39
40set a b c d e f g h i j k l m n o p
41recho ${!1*}
42
43recho ${!@*}