/[pcre]/code/trunk/testdata/grepoutput
ViewVC logotype

Contents of /code/trunk/testdata/grepoutput

Parent Directory Parent Directory | Revision Log Revision Log


Revision 87 - (show annotations) (download)
Sat Feb 24 21:41:21 2007 UTC (7 years, 2 months ago) by nigel
File size: 9884 byte(s)
Load pcre-6.5 into code/trunk.

1 ---------------------------- Test 1 ------------------------------
2 PATTERN at the start of a line.
3 In the middle of a line, PATTERN appears.
4 Check up on PATTERN near the end.
5 ---------------------------- Test 2 ------------------------------
6 PATTERN at the start of a line.
7 ---------------------------- Test 3 ------------------------------
8 7:PATTERN at the start of a line.
9 8:In the middle of a line, PATTERN appears.
10 10:This pattern is in lower case.
11 608:Check up on PATTERN near the end.
12 ---------------------------- Test 4 ------------------------------
13 4
14 ---------------------------- Test 5 ------------------------------
15 ./testdata/grepinput:7:PATTERN at the start of a line.
16 ./testdata/grepinput:8:In the middle of a line, PATTERN appears.
17 ./testdata/grepinput:10:This pattern is in lower case.
18 ./testdata/grepinput:608:Check up on PATTERN near the end.
19 ./testdata/grepinputx:3:Here is the pattern again.
20 ./testdata/grepinputx:5:Pattern
21 ---------------------------- Test 6 ------------------------------
22 7:PATTERN at the start of a line.
23 8:In the middle of a line, PATTERN appears.
24 10:This pattern is in lower case.
25 608:Check up on PATTERN near the end.
26 3:Here is the pattern again.
27 5:Pattern
28 ---------------------------- Test 7 ------------------------------
29 ./testdata/grepinput
30 ./testdata/grepinputx
31 ---------------------------- Test 8 ------------------------------
32 ./testdata/grepinput
33 ---------------------------- Test 9 ------------------------------
34 RC=0
35 ---------------------------- Test 10 -----------------------------
36 RC=1
37 ---------------------------- Test 11 -----------------------------
38 1:This is a second file of input for the pcregrep tests.
39 2:
40 4:
41 5:Pattern
42 6:That time it was on a line by itself.
43 7:
44 8:To pat or not to pat, that is the question.
45 9:
46 10:complete pair
47 11:of lines
48 12:
49 13:That was a complete pair
50 14:of lines all by themselves.
51 15:
52 16:complete pair
53 17:of lines
54 18:
55 19:And there they were again, to check line numbers.
56 20:
57 21:one
58 22:two
59 23:three
60 24:four
61 25:five
62 26:six
63 27:seven
64 28:eight
65 29:nine
66 30:ten
67 31:eleven
68 32:twelve
69 33:thirteen
70 34:fourteen
71 35:fifteen
72 36:sixteen
73 37:seventeen
74 38:eighteen
75 39:nineteen
76 40:twenty
77 41:
78 42:This is the last line of this file.
79 ---------------------------- Test 12 -----------------------------
80 Pattern
81 ---------------------------- Test 13 -----------------------------
82 Here is the pattern again.
83 That time it was on a line by itself.
84 ---------------------------- Test 14 -----------------------------
85 ./testdata/grepinputx:To pat or not to pat, that is the question.
86 ---------------------------- Test 15 -----------------------------
87 pcregrep: Error in command-line regex at offset 4: nothing to repeat
88 ---------------------------- Test 16 -----------------------------
89 pcregrep: Failed to open ./testdata/nonexistfile: No such file or directory
90 ---------------------------- Test 17 -----------------------------
91 features should be added at the end, because some of the tests involve the
92 output of line numbers, and we don't want these to change.
93 ---------------------------- Test 18 -----------------------------
94 4:features should be added at the end, because some of the tests involve the
95 output of line numbers, and we don't want these to change.
96 583:brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
97 -------------------------------------------------------------------------------
98 ---------------------------- Test 19 -----------------------------
99 Pattern
100 ---------------------------- Test 20 -----------------------------
101 10:complete pair
102 of lines
103 16:complete pair
104 of lines
105 ---------------------------- Test 21 -----------------------------
106 24:four
107 25-five
108 26-six
109 27-seven
110 --
111 34:fourteen
112 35-fifteen
113 36-sixteen
114 37-seventeen
115 ---------------------------- Test 22 -----------------------------
116 21-one
117 22-two
118 23-three
119 24:four
120 --
121 31-eleven
122 32-twelve
123 33-thirteen
124 34:fourteen
125 ---------------------------- Test 23 -----------------------------
126 one
127 two
128 three
129 four
130 five
131 six
132 seven
133 --
134 eleven
135 twelve
136 thirteen
137 fourteen
138 fifteen
139 sixteen
140 seventeen
141 ---------------------------- Test 24 -----------------------------
142 four
143 five
144 six
145 seven
146 eight
147 nine
148 ten
149 eleven
150 twelve
151 thirteen
152 fourteen
153 fifteen
154 sixteen
155 seventeen
156 eighteen
157 nineteen
158 twenty
159
160 This is the last line of this file.
161 ---------------------------- Test 25 -----------------------------
162 15-
163 16-complete pair
164 17-of lines
165 18-
166 19-And there they were again, to check line numbers.
167 20-
168 21-one
169 22-two
170 23-three
171 24:four
172 25-five
173 26-six
174 27-seven
175 28-eight
176 29-nine
177 30-ten
178 31-eleven
179 32-twelve
180 33-thirteen
181 34:fourteen
182 ---------------------------- Test 26 -----------------------------
183
184 complete pair
185 of lines
186
187 And there they were again, to check line numbers.
188
189 one
190 two
191 three
192 four
193 five
194 six
195 seven
196 eight
197 nine
198 ten
199 eleven
200 twelve
201 thirteen
202 fourteen
203 fifteen
204 sixteen
205 seventeen
206 eighteen
207 nineteen
208 twenty
209
210 This is the last line of this file.
211 ---------------------------- Test 27 -----------------------------
212 four
213 five
214 six
215 seven
216 eight
217 nine
218 ten
219 eleven
220 twelve
221 thirteen
222 fourteen
223 fifteen
224 sixteen
225 seventeen
226 eighteen
227 nineteen
228 twenty
229
230 This is the last line of this file.
231 ---------------------------- Test 28 -----------------------------
232 14-of lines all by themselves.
233 15-
234 16-complete pair
235 17-of lines
236 18-
237 19-And there they were again, to check line numbers.
238 20-
239 21-one
240 22-two
241 23-three
242 24:four
243 25-five
244 26-six
245 27-seven
246 28-eight
247 29-nine
248 30-ten
249 31-eleven
250 32-twelve
251 33-thirteen
252 34:fourteen
253 ---------------------------- Test 29 -----------------------------
254 of lines all by themselves.
255
256 complete pair
257 of lines
258
259 And there they were again, to check line numbers.
260
261 one
262 two
263 three
264 four
265 five
266 six
267 seven
268 eight
269 nine
270 ten
271 eleven
272 twelve
273 thirteen
274 fourteen
275 fifteen
276 sixteen
277 seventeen
278 eighteen
279 nineteen
280 twenty
281
282 This is the last line of this file.
283 ---------------------------- Test 30 -----------------------------
284 ./testdata/grepinput-4-features should be added at the end, because some of the tests involve the
285 ./testdata/grepinput-5-output of line numbers, and we don't want these to change.
286 ./testdata/grepinput-6-
287 ./testdata/grepinput:7:PATTERN at the start of a line.
288 ./testdata/grepinput:8:In the middle of a line, PATTERN appears.
289 ./testdata/grepinput-9-
290 ./testdata/grepinput:10:This pattern is in lower case.
291 --
292 ./testdata/grepinput-605-PUT NEW DATA ABOVE THIS LINE.
293 ./testdata/grepinput-606-=============================
294 ./testdata/grepinput-607-
295 ./testdata/grepinput:608:Check up on PATTERN near the end.
296 --
297 ./testdata/grepinputx-1-This is a second file of input for the pcregrep tests.
298 ./testdata/grepinputx-2-
299 ./testdata/grepinputx:3:Here is the pattern again.
300 ./testdata/grepinputx-4-
301 ./testdata/grepinputx:5:Pattern
302 ---------------------------- Test 31 -----------------------------
303 ./testdata/grepinput:7:PATTERN at the start of a line.
304 ./testdata/grepinput:8:In the middle of a line, PATTERN appears.
305 ./testdata/grepinput-9-
306 ./testdata/grepinput:10:This pattern is in lower case.
307 ./testdata/grepinput-11-
308 ./testdata/grepinput-12-Here follows a whole lot of stuff that makes the file over 24K long.
309 ./testdata/grepinput-13-
310 --
311 ./testdata/grepinput:608:Check up on PATTERN near the end.
312 ./testdata/grepinput-609-This is the last line of this file.
313 --
314 ./testdata/grepinputx:3:Here is the pattern again.
315 ./testdata/grepinputx-4-
316 ./testdata/grepinputx:5:Pattern
317 ./testdata/grepinputx-6-That time it was on a line by itself.
318 ./testdata/grepinputx-7-
319 ./testdata/grepinputx-8-To pat or not to pat, that is the question.
320 ---------------------------- Test 32 -----------------------------
321 ./testdata/grepinputx
322 ---------------------------- Test 33 -----------------------------
323 pcregrep: Failed to open ./testdata/grepnonexist: No such file or directory
324 RC=2
325 ---------------------------- Test 34 -----------------------------
326 RC=2
327 ---------------------------- Test 35 -----------------------------
328 ./testdata/grepinputx
329 RC=0
330 ---------------------------- Test 36 -----------------------------
331 ./testdata/grepinputx
332 RC=0
333 ---------------------------- Test 37 -----------------------------
334 aaaaa0
335 aaaaa2
336 RC=0
337 ======== STDERR ========
338 pcregrep: pcre_exec() error -8 while matching this line:
339 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
340 pcregrep: error -8 means that a resource limit was exceeded
341 pcregrep: check your regex for nested unlimited loops
342 pcregrep: pcre_exec() error -8 while matching this line:
343 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
344 ---------------------------- Test 38 ------------------------------
345 This line contains a binary zero here >< for testing.
346 ---------------------------- Test 39 ------------------------------
347 This is a line before the binary zero.
348 This line contains a binary zero here >< for testing.
349 ---------------------------- Test 40 ------------------------------
350 This line contains a binary zero here >< for testing.
351 This is a line after the binary zero.
352 ---------------------------- Test 41 ------------------------------
353 before the binary zero
354 after the binary zero
355 ---------------------------- Test 41 ------------------------------
356 ./testdata/grepinput:595:before the binary zero
357 ./testdata/grepinput:597:after the binary zero
358 ---------------------------- Test 42 ------------------------------
359 595:before
360 596:zero
361 597:after
362 ---------------------------- Test 43 ------------------------------
363 595:before
364 596:zero
365 597:zero
366 ---------------------------- Test 44 ------------------------------
367 10:pattern
368 595:binary
369 596:binary
370 597:binary
371 ---------------------------- Test 45 ------------------------------
372 pcregrep: Error in 2nd command-line regex at offset 9: missing )
373 ---------------------------- Test 46 ------------------------------
374 AB.VE
375 ---------------------------- Test 47 ------------------------------
376 ABOVE the elephant
377 AB.VE
378 AB.VE the turtle
379 ---------------------------- Test 48 ------------------------------
380 ABOVE the elephant
381 AB.VE
382 AB.VE the turtle
383 PUT NEW DATA ABOVE THIS LINE.

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12