Parent Directory
|
Revision Log
|
Patch
| revision 222 by ph10, Fri Aug 17 10:48:51 2007 UTC | revision 587 by ph10, Fri Jan 14 19:01:25 2011 UTC | |
|---|---|---|
| # | Line 2 | Line 2 |
| 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. |
| 4 | Check up on PATTERN near the end. | Check up on PATTERN near the end. |
| 5 | RC=0 | |
| 6 | ---------------------------- Test 2 ------------------------------ | ---------------------------- Test 2 ------------------------------ |
| 7 | PATTERN at the start of a line. | PATTERN at the start of a line. |
| 8 | RC=0 | |
| 9 | ---------------------------- Test 3 ------------------------------ | ---------------------------- Test 3 ------------------------------ |
| 10 | 7:PATTERN at the start of a line. | 7:PATTERN at the start of a line. |
| 11 | 8:In the middle of a line, PATTERN appears. | 8:In the middle of a line, PATTERN appears. |
| 12 | 10:This pattern is in lower case. | 10:This pattern is in lower case. |
| 13 | 608:Check up on PATTERN near the end. | 608:Check up on PATTERN near the end. |
| 14 | RC=0 | |
| 15 | ---------------------------- Test 4 ------------------------------ | ---------------------------- Test 4 ------------------------------ |
| 16 | 4 | 4 |
| 17 | RC=0 | |
| 18 | ---------------------------- Test 5 ------------------------------ | ---------------------------- Test 5 ------------------------------ |
| 19 | ./testdata/grepinput:7:PATTERN at the start of a line. | ./testdata/grepinput:7:PATTERN at the start of a line. |
| 20 | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. |
| # | Line 18 PATTERN at the start of a line. | Line 22 PATTERN at the start of a line. |
| 22 | ./testdata/grepinput:608:Check up on PATTERN near the end. | ./testdata/grepinput:608:Check up on PATTERN near the end. |
| 23 | ./testdata/grepinputx:3:Here is the pattern again. | ./testdata/grepinputx:3:Here is the pattern again. |
| 24 | ./testdata/grepinputx:5:Pattern | ./testdata/grepinputx:5:Pattern |
| 25 | ./testdata/grepinputx:42:This line contains pattern not on a line by itself. | |
| 26 | RC=0 | |
| 27 | ---------------------------- Test 6 ------------------------------ | ---------------------------- Test 6 ------------------------------ |
| 28 | 7:PATTERN at the start of a line. | 7:PATTERN at the start of a line. |
| 29 | 8:In the middle of a line, PATTERN appears. | 8:In the middle of a line, PATTERN appears. |
| # | Line 25 PATTERN at the start of a line. | Line 31 PATTERN at the start of a line. |
| 31 | 608:Check up on PATTERN near the end. | 608:Check up on PATTERN near the end. |
| 32 | 3:Here is the pattern again. | 3:Here is the pattern again. |
| 33 | 5:Pattern | 5:Pattern |
| 34 | 42:This line contains pattern not on a line by itself. | |
| 35 | RC=0 | |
| 36 | ---------------------------- Test 7 ------------------------------ | ---------------------------- Test 7 ------------------------------ |
| 37 | ./testdata/grepinput | ./testdata/grepinput |
| 38 | ./testdata/grepinputx | ./testdata/grepinputx |
| 39 | RC=0 | |
| 40 | ---------------------------- Test 8 ------------------------------ | ---------------------------- Test 8 ------------------------------ |
| 41 | ./testdata/grepinput | ./testdata/grepinput |
| 42 | RC=0 | |
| 43 | ---------------------------- Test 9 ------------------------------ | ---------------------------- Test 9 ------------------------------ |
| 44 | RC=0 | RC=0 |
| 45 | ---------------------------- Test 10 ----------------------------- | ---------------------------- Test 10 ----------------------------- |
| # | Line 75 RC=1 | Line 85 RC=1 |
| 85 | 39:nineteen | 39:nineteen |
| 86 | 40:twenty | 40:twenty |
| 87 | 41: | 41: |
| 88 | 42:This is the last line of this file. | 43:This is the last line of this file. |
| 89 | RC=0 | |
| 90 | ---------------------------- Test 12 ----------------------------- | ---------------------------- Test 12 ----------------------------- |
| 91 | Pattern | Pattern |
| 92 | RC=0 | |
| 93 | ---------------------------- Test 13 ----------------------------- | ---------------------------- Test 13 ----------------------------- |
| 94 | Here is the pattern again. | Here is the pattern again. |
| 95 | That time it was on a line by itself. | That time it was on a line by itself. |
| 96 | This line contains pattern not on a line by itself. | |
| 97 | RC=0 | |
| 98 | ---------------------------- Test 14 ----------------------------- | ---------------------------- Test 14 ----------------------------- |
| 99 | ./testdata/grepinputx:To pat or not to pat, that is the question. | ./testdata/grepinputx:To pat or not to pat, that is the question. |
| 100 | RC=0 | |
| 101 | ---------------------------- Test 15 ----------------------------- | ---------------------------- Test 15 ----------------------------- |
| 102 | pcregrep: Error in command-line regex at offset 4: nothing to repeat | pcregrep: Error in command-line regex at offset 4: nothing to repeat |
| 103 | RC=2 | |
| 104 | ---------------------------- Test 16 ----------------------------- | ---------------------------- Test 16 ----------------------------- |
| 105 | pcregrep: Failed to open ./testdata/nonexistfile: No such file or directory | pcregrep: Failed to open ./testdata/nonexistfile: No such file or directory |
| 106 | RC=2 | |
| 107 | ---------------------------- Test 17 ----------------------------- | ---------------------------- Test 17 ----------------------------- |
| 108 | features should be added at the end, because some of the tests involve the | features should be added at the end, because some of the tests involve the |
| 109 | output of line numbers, and we don't want these to change. | output of line numbers, and we don't want these to change. |
| 110 | RC=0 | |
| 111 | ---------------------------- Test 18 ----------------------------- | ---------------------------- Test 18 ----------------------------- |
| 112 | 4:features should be added at the end, because some of the tests involve the | 4:features should be added at the end, because some of the tests involve the |
| 113 | output of line numbers, and we don't want these to change. | output of line numbers, and we don't want these to change. |
| 114 | 583:brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. | 583:brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. |
| 115 | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| 116 | RC=0 | |
| 117 | ---------------------------- Test 19 ----------------------------- | ---------------------------- Test 19 ----------------------------- |
| 118 | Pattern | Pattern |
| 119 | RC=0 | |
| 120 | ---------------------------- Test 20 ----------------------------- | ---------------------------- Test 20 ----------------------------- |
| 121 | 10:complete pair | 10:complete pair |
| 122 | of lines | of lines |
| 123 | 16:complete pair | 16:complete pair |
| 124 | of lines | of lines |
| 125 | RC=0 | |
| 126 | ---------------------------- Test 21 ----------------------------- | ---------------------------- Test 21 ----------------------------- |
| 127 | 24:four | 24:four |
| 128 | 25-five | 25-five |
| # | Line 112 of lines | Line 133 of lines |
| 133 | 35-fifteen | 35-fifteen |
| 134 | 36-sixteen | 36-sixteen |
| 135 | 37-seventeen | 37-seventeen |
| 136 | RC=0 | |
| 137 | ---------------------------- Test 22 ----------------------------- | ---------------------------- Test 22 ----------------------------- |
| 138 | 21-one | 21-one |
| 139 | 22-two | 22-two |
| # | Line 122 of lines | Line 144 of lines |
| 144 | 32-twelve | 32-twelve |
| 145 | 33-thirteen | 33-thirteen |
| 146 | 34:fourteen | 34:fourteen |
| 147 | RC=0 | |
| 148 | ---------------------------- Test 23 ----------------------------- | ---------------------------- Test 23 ----------------------------- |
| 149 | one | one |
| 150 | two | two |
| # | Line 138 fourteen | Line 161 fourteen |
| 161 | fifteen | fifteen |
| 162 | sixteen | sixteen |
| 163 | seventeen | seventeen |
| 164 | RC=0 | |
| 165 | ---------------------------- Test 24 ----------------------------- | ---------------------------- Test 24 ----------------------------- |
| 166 | four | four |
| 167 | five | five |
| # | Line 157 eighteen | Line 181 eighteen |
| 181 | nineteen | nineteen |
| 182 | twenty | twenty |
| 183 | ||
| 184 | This line contains pattern not on a line by itself. | |
| 185 | This is the last line of this file. | This is the last line of this file. |
| 186 | RC=0 | |
| 187 | ---------------------------- Test 25 ----------------------------- | ---------------------------- Test 25 ----------------------------- |
| 188 | 15- | 15- |
| 189 | 16-complete pair | 16-complete pair |
| # | Line 179 This is the last line of this file. | Line 205 This is the last line of this file. |
| 205 | 32-twelve | 32-twelve |
| 206 | 33-thirteen | 33-thirteen |
| 207 | 34:fourteen | 34:fourteen |
| 208 | RC=0 | |
| 209 | ---------------------------- Test 26 ----------------------------- | ---------------------------- Test 26 ----------------------------- |
| 210 | ||
| 211 | complete pair | complete pair |
| # | Line 207 eighteen | Line 234 eighteen |
| 234 | nineteen | nineteen |
| 235 | twenty | twenty |
| 236 | ||
| 237 | This line contains pattern not on a line by itself. | |
| 238 | This is the last line of this file. | This is the last line of this file. |
| 239 | RC=0 | |
| 240 | ---------------------------- Test 27 ----------------------------- | ---------------------------- Test 27 ----------------------------- |
| 241 | four | four |
| 242 | five | five |
| # | Line 227 eighteen | Line 256 eighteen |
| 256 | nineteen | nineteen |
| 257 | twenty | twenty |
| 258 | ||
| 259 | This line contains pattern not on a line by itself. | |
| 260 | This is the last line of this file. | This is the last line of this file. |
| 261 | RC=0 | |
| 262 | ---------------------------- Test 28 ----------------------------- | ---------------------------- Test 28 ----------------------------- |
| 263 | 14-of lines all by themselves. | 14-of lines all by themselves. |
| 264 | 15- | 15- |
| # | Line 250 This is the last line of this file. | Line 281 This is the last line of this file. |
| 281 | 32-twelve | 32-twelve |
| 282 | 33-thirteen | 33-thirteen |
| 283 | 34:fourteen | 34:fourteen |
| 284 | RC=0 | |
| 285 | ---------------------------- Test 29 ----------------------------- | ---------------------------- Test 29 ----------------------------- |
| 286 | of lines all by themselves. | of lines all by themselves. |
| 287 | ||
| # | Line 279 eighteen | Line 311 eighteen |
| 311 | nineteen | nineteen |
| 312 | twenty | twenty |
| 313 | ||
| 314 | This line contains pattern not on a line by itself. | |
| 315 | This is the last line of this file. | This is the last line of this file. |
| 316 | RC=0 | |
| 317 | ---------------------------- Test 30 ----------------------------- | ---------------------------- Test 30 ----------------------------- |
| 318 | ./testdata/grepinput-4-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 |
| 319 | ./testdata/grepinput-5-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. |
| # | Line 299 This is the last line of this file. | Line 333 This is the last line of this file. |
| 333 | ./testdata/grepinputx:3:Here is the pattern again. | ./testdata/grepinputx:3:Here is the pattern again. |
| 334 | ./testdata/grepinputx-4- | ./testdata/grepinputx-4- |
| 335 | ./testdata/grepinputx:5:Pattern | ./testdata/grepinputx:5:Pattern |
| 336 | -- | |
| 337 | ./testdata/grepinputx-39-nineteen | |
| 338 | ./testdata/grepinputx-40-twenty | |
| 339 | ./testdata/grepinputx-41- | |
| 340 | ./testdata/grepinputx:42:This line contains pattern not on a line by itself. | |
| 341 | RC=0 | |
| 342 | ---------------------------- Test 31 ----------------------------- | ---------------------------- Test 31 ----------------------------- |
| 343 | ./testdata/grepinput:7:PATTERN at the start of a line. | ./testdata/grepinput:7:PATTERN at the start of a line. |
| 344 | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. |
| # | Line 317 This is the last line of this file. | Line 357 This is the last line of this file. |
| 357 | ./testdata/grepinputx-6-That time it was on a line by itself. | ./testdata/grepinputx-6-That time it was on a line by itself. |
| 358 | ./testdata/grepinputx-7- | ./testdata/grepinputx-7- |
| 359 | ./testdata/grepinputx-8-To pat or not to pat, that is the question. | ./testdata/grepinputx-8-To pat or not to pat, that is the question. |
| 360 | -- | |
| 361 | ./testdata/grepinputx:42:This line contains pattern not on a line by itself. | |
| 362 | ./testdata/grepinputx-43-This is the last line of this file. | |
| 363 | RC=0 | |
| 364 | ---------------------------- Test 32 ----------------------------- | ---------------------------- Test 32 ----------------------------- |
| 365 | ./testdata/grepinputx | ./testdata/grepinputx |
| 366 | RC=0 | |
| 367 | ---------------------------- Test 33 ----------------------------- | ---------------------------- Test 33 ----------------------------- |
| 368 | pcregrep: Failed to open ./testdata/grepnonexist: No such file or directory | pcregrep: Failed to open ./testdata/grepnonexist: No such file or directory |
| 369 | RC=2 | RC=2 |
| # | Line 328 RC=2 | Line 373 RC=2 |
| 373 | ./testdata/grepinputx | ./testdata/grepinputx |
| 374 | RC=0 | RC=0 |
| 375 | ---------------------------- Test 36 ----------------------------- | ---------------------------- Test 36 ----------------------------- |
| 376 | ./testdata/grepinput3 | |
| 377 | ./testdata/grepinput8 | ./testdata/grepinput8 |
| 378 | ./testdata/grepinputx | ./testdata/grepinputx |
| 379 | RC=0 | RC=0 |
| # | Line 336 aaaaa0 | Line 382 aaaaa0 |
| 382 | aaaaa2 | aaaaa2 |
| 383 | RC=0 | RC=0 |
| 384 | ======== STDERR ======== | ======== STDERR ======== |
| 385 | pcregrep: pcre_exec() error -8 while matching this line: | pcregrep: pcre_exec() gave error -8 while matching this text: |
| 386 | ||
| 387 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
| 388 | pcregrep: error -8 means that a resource limit was exceeded | |
| 389 | pcregrep: check your regex for nested unlimited loops | pcregrep: pcre_exec() gave error -8 while matching this text: |
| 390 | pcregrep: pcre_exec() error -8 while matching this line: | |
| 391 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
| 392 | ||
| 393 | pcregrep: Error -8 or -21 means that a resource limit was exceeded. | |
| 394 | pcregrep: Check your regex for nested unlimited loops. | |
| 395 | ---------------------------- Test 38 ------------------------------ | ---------------------------- Test 38 ------------------------------ |
| 396 | This line contains a binary zero here > |