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