]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/extglob.right
bash-5.2 distribution sources and documentation
[thirdparty/bash.git] / tests / extglob.right
CommitLineData
cce855bc
JA
1ok 1
2ok 2
3ok 3
4ok 4
5ok 5
6ok 6
7ok 7
8ok 8
9ok 9
10ok 10
11ok 11
12ok 12
13ok 13
14ok 14
15ok 15
16ok 16
17ok 17
18ok 18
19ok 19
20ok 20
21ok 21
22ok 22
23ok 23
24ok 24
25ok 25
26ok 26
27ok 27
28ok 28
29ok 29
30ok 30
31ok 31
32ok 32
33ok 33
34ok 34
35ok 35
36ok 36
37!([*)*
38+(a|b[)*
39[a*(]*)z
40+()c
41+()x
42abc
43+(*)x
44abc
45no-file+(a|b)stuff
46no-file+(a*(c)|b)stuff
47abd acd
48acd
49abd
50no
51yes
52yes
531: bcdef
542: def
553: abcde
564: abc
575: ef
586: ef
597: abcdef
b72432fd
JA
60ab abef
61abcfef abef
62abcdef
63ab abcdef abcfef abef
64abcdef abcfef abef
65ok 37
66ok 38
67ok 39
68ok 40
69ok 41
b80f6443 70ok 42
b72432fd
JA
71a b a,b a-b a.b a:b a;b a_b
72a b a,b a-b a.b a:b a;b a_b
73a b a,b a-b a.b a:b a;b a_b
74a b a,b a-b a.b a:b a;b a_b
75a.b
76a b a,b a-b a:b a;b a_b
77a b a,b a-b a.b a:b a;b a_b
78a b a,b a-b a.b a:b a;b a_b
79a b a,b a-b a.b a:b a;b a_b
95732b49 80argv[1] = <ef>
3185942a 81a,b
0628567a
JA
82a.c
83a.c
84a.c
85a.c
86a.c
87a.c
88ok 1
89ok 2
90ok 3
ac50fbac
CR
91a ab
92a ab
93a ab
94a
74091dd4
CR
95*(.)
96a.log
d233b485
CR
97*(foo)
98*(foo|bar)
a0c0a00f
CR
99a.log
100?(foo)
101a.log
102a.log
74091dd4
CR
103*(foo).*
104*(foo|bar).*
d233b485 105a.log
a0c0a00f
CR
106a.log
107.x .y .z
108a b c
109.x .y .z a b c
110a b c
111a b c
d233b485
CR
112a b c
113a b c
114.x .y .z a b c
115.x .y .z a b c
116*
74091dd4
CR
117.b a
118.b a
119a .b
120.b
121.b
122.b a
123.b a
124a .b
125.b
126.b
127dotglob: .a .foo bar
128@(.foo)
129.foo
130!(.foo)
131.a bar
132@(.foo|*)
133.a .foo bar
134!(.foo|*)
135!(.foo|*)
136@(*)
137.a .foo bar
138!(*)
139!(*)
140.*
141. .. .a .foo
142@(.*)
143. .. .a .foo
144!(.*)
145bar
146no dotglob: .a .foo bar
147@(.foo)
148.foo
149!(.foo)
150bar
151@(.foo|*)
152.foo bar
153!(.foo|*)
154!(.foo|*)
155!(bar).foo
156!(bar).foo
157*(bar).foo
158.foo
159?(bar).foo
160.foo
161.?
162.. .a
163@(.?)
164.. .a
165!(.?)
166bar
167dotglob: .a .foo bar
168@(?|.?)
169.. .a
170@(?|.*)
171. .. .a .foo
172? .*
173? . .. .a .foo
174*
175.a .foo bar
176no dotglob: .a .foo bar
177@(?|.?)
178.. .a
179@(?|.*)
180. .. .a .foo
181? .*
182? . .. .a .foo
183*
184bar