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

Diff of /code/trunk/testdata/grepoutput

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 85 by nigel, Sat Feb 24 21:41:13 2007 UTC revision 87 by nigel, Sat Feb 24 21:41:21 2007 UTC
# Line 1  Line 1 
 pcregrep version 4.1 05-Sep-2005 using PCRE version 6.4 05-Sep-2005  
1  ---------------------------- Test 1 ------------------------------  ---------------------------- Test 1 ------------------------------
2  PATTERN at the start of a line.  PATTERN at the start of a line.
3  In the middle of a line, PATTERN appears.  In the middle of a line, PATTERN appears.
# Line 9  PATTERN at the start of a line. Line 8  PATTERN at the start of a line.
8  7:PATTERN at the start of a line.  7:PATTERN at the start of a line.
9  8:In the middle of a line, PATTERN appears.  8:In the middle of a line, PATTERN appears.
10  10:This pattern is in lower case.  10:This pattern is in lower case.
11  586:Check up on PATTERN near the end.  608:Check up on PATTERN near the end.
12  ---------------------------- Test 4 ------------------------------  ---------------------------- Test 4 ------------------------------
13  4  4
14  ---------------------------- Test 5 ------------------------------  ---------------------------- Test 5 ------------------------------
15  ./testdata/grepinput:7:PATTERN at the start of a line.  ./testdata/grepinput:7:PATTERN at the start of a line.
16  ./testdata/grepinput:8:In the middle of a line, PATTERN appears.  ./testdata/grepinput:8:In the middle of a line, PATTERN appears.
17  ./testdata/grepinput:10:This pattern is in lower case.  ./testdata/grepinput:10:This pattern is in lower case.
18  ./testdata/grepinput:586:Check up on PATTERN near the end.  ./testdata/grepinput:608:Check up on PATTERN near the end.
19  ./testdata/grepinputx:3:Here is the pattern again.  ./testdata/grepinputx:3:Here is the pattern again.
20  ./testdata/grepinputx:5:Pattern  ./testdata/grepinputx:5:Pattern
21  ---------------------------- Test 6 ------------------------------  ---------------------------- Test 6 ------------------------------
22  7:PATTERN at the start of a line.  7:PATTERN at the start of a line.
23  8:In the middle of a line, PATTERN appears.  8:In the middle of a line, PATTERN appears.
24  10:This pattern is in lower case.  10:This pattern is in lower case.
25  586:Check up on PATTERN near the end.  608:Check up on PATTERN near the end.
26  3:Here is the pattern again.  3:Here is the pattern again.
27  5:Pattern  5:Pattern
28  ---------------------------- Test 7 ------------------------------  ---------------------------- Test 7 ------------------------------
# Line 85  That time it was on a line by itself. Line 84  That time it was on a line by itself.
84  ---------------------------- Test 14 -----------------------------  ---------------------------- Test 14 -----------------------------
85  ./testdata/grepinputx:To pat or not to pat, that is the question.  ./testdata/grepinputx:To pat or not to pat, that is the question.
86  ---------------------------- Test 15 -----------------------------  ---------------------------- Test 15 -----------------------------
87  pcregrep: Error in regex at offset 4: nothing to repeat  pcregrep: Error in command-line regex at offset 4: nothing to repeat
88  ---------------------------- Test 16 -----------------------------  ---------------------------- Test 16 -----------------------------
89  pcregrep: Failed to open ./testdata/nonexistfile: No such file or directory  pcregrep: Failed to open ./testdata/nonexistfile: No such file or directory
90  ---------------------------- Test 17 -----------------------------  ---------------------------- Test 17 -----------------------------
# Line 114  of lines Line 113  of lines
113  36-sixteen  36-sixteen
114  37-seventeen  37-seventeen
115  ---------------------------- Test 22 -----------------------------  ---------------------------- Test 22 -----------------------------
116  20-one  21-one
117  21-two  22-two
118  22-three  23-three
119  24:four  24:four
120  --  --
121  30-eleven  31-eleven
122  31-twelve  32-twelve
123  32-thirteen  33-thirteen
124  34:fourteen  34:fourteen
125  ---------------------------- Test 23 -----------------------------  ---------------------------- Test 23 -----------------------------
126  one  one
# Line 160  twenty Line 159  twenty
159    
160  This is the last line of this file.  This is the last line of this file.
161  ---------------------------- Test 25 -----------------------------  ---------------------------- Test 25 -----------------------------
162  14-  15-
163  15-complete pair  16-complete pair
164  16-of lines  17-of lines
165  17-  18-
166  18-And there they were again, to check line numbers.  19-And there they were again, to check line numbers.
167  19-  20-
168  20-one  21-one
169  21-two  22-two
170  22-three  23-three
171  24:four  24:four
172  25-five  25-five
173  26-six  26-six
# Line 230  twenty Line 229  twenty
229    
230  This is the last line of this file.  This is the last line of this file.
231  ---------------------------- Test 28 -----------------------------  ---------------------------- Test 28 -----------------------------
232  13-of lines all by themselves.  14-of lines all by themselves.
233  14-  15-
234  15-complete pair  16-complete pair
235  16-of lines  17-of lines
236  17-  18-
237  18-And there they were again, to check line numbers.  19-And there they were again, to check line numbers.
238  19-  20-
239  20-one  21-one
240  21-two  22-two
241  22-three  23-three
242  24:four  24:four
243  25-five  25-five
244  26-six  26-six
# Line 282  twenty Line 281  twenty
281    
282  This is the last line of this file.  This is the last line of this file.
283  ---------------------------- Test 30 -----------------------------  ---------------------------- Test 30 -----------------------------
284  ./testdata/grepinput-3-features should be added at the end, because some of the tests involve the  ./testdata/grepinput-4-features should be added at the end, because some of the tests involve the
285  ./testdata/grepinput-4-output of line numbers, and we don't want these to change.  ./testdata/grepinput-5-output of line numbers, and we don't want these to change.
286  ./testdata/grepinput-5-  ./testdata/grepinput-6-
287  ./testdata/grepinput:7:PATTERN at the start of a line.  ./testdata/grepinput:7:PATTERN at the start of a line.
288  ./testdata/grepinput:8:In the middle of a line, PATTERN appears.  ./testdata/grepinput:8:In the middle of a line, PATTERN appears.
289  ./testdata/grepinput-9-  ./testdata/grepinput-9-
290  ./testdata/grepinput:10:This pattern is in lower case.  ./testdata/grepinput:10:This pattern is in lower case.
291  --  --
292  ./testdata/grepinput-582-brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.  ./testdata/grepinput-605-PUT NEW DATA ABOVE THIS LINE.
293  ./testdata/grepinput-583--------------------------------------------------------------------------------  ./testdata/grepinput-606-=============================
294  ./testdata/grepinput-584-  ./testdata/grepinput-607-
295  ./testdata/grepinput:586:Check up on PATTERN near the end.  ./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.  ./testdata/grepinputx-1-This is a second file of input for the pcregrep tests.
298  ./testdata/grepinputx-2-  ./testdata/grepinputx-2-
# Line 309  This is the last line of this file. Line 308  This is the last line of this file.
308  ./testdata/grepinput-12-Here follows a whole lot of stuff that makes the file over 24K long.  ./testdata/grepinput-12-Here follows a whole lot of stuff that makes the file over 24K long.
309  ./testdata/grepinput-13-  ./testdata/grepinput-13-
310  --  --
311  ./testdata/grepinput:586:Check up on PATTERN near the end.  ./testdata/grepinput:608:Check up on PATTERN near the end.
312  ./testdata/grepinput-587-  ./testdata/grepinput-609-This is the last line of this file.
 ./testdata/grepinput-588-This is the last line of this file.  
313  --  --
314  ./testdata/grepinputx:3:Here is the pattern again.  ./testdata/grepinputx:3:Here is the pattern again.
315  ./testdata/grepinputx-4-  ./testdata/grepinputx-4-
# Line 332  RC=0 Line 330  RC=0
330  ---------------------------- Test 36 -----------------------------  ---------------------------- Test 36 -----------------------------
331  ./testdata/grepinputx  ./testdata/grepinputx
332  RC=0  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.

Legend:
Removed from v.85  
changed lines
  Added in v.87

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12