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