Annotation of embedaddon/pcre/testdata/grepoutput, revision 1.1.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 >< for testing.
                    398: RC=0
                    399: ---------------------------- Test 39 ------------------------------
                    400: This is a line before the binary zero.
                    401: This line contains a binary zero here >< for testing.
                    402: RC=0
                    403: ---------------------------- Test 40 ------------------------------
                    404: This line contains a binary zero here >< for testing.
                    405: This is a line after the binary zero.
                    406: RC=0
                    407: ---------------------------- Test 41 ------------------------------
                    408: before the binary zero
                    409: after the binary zero
                    410: RC=0
                    411: ---------------------------- Test 42 ------------------------------
                    412: ./testdata/grepinput:595:before the binary zero
                    413: ./testdata/grepinput:597:after the binary zero
                    414: RC=0
                    415: ---------------------------- Test 43 ------------------------------
                    416: 595:before
                    417: 595:zero
                    418: 596:zero
                    419: 597:after
                    420: 597:zero
                    421: RC=0
                    422: ---------------------------- Test 44 ------------------------------
                    423: 595:before
                    424: 595:zero
                    425: 596:zero
                    426: 597:zero
                    427: RC=0
                    428: ---------------------------- Test 45 ------------------------------
                    429: 10:pattern
                    430: 595:binary
                    431: 596:binary
                    432: 597:binary
                    433: RC=0
                    434: ---------------------------- Test 46 ------------------------------
                    435: pcregrep: Error in 2nd command-line regex at offset 9: missing )
                    436: RC=2
                    437: ---------------------------- Test 47 ------------------------------
                    438: AB.VE
                    439: RC=0
                    440: ---------------------------- Test 48 ------------------------------
                    441: ABOVE the elephant 
                    442: AB.VE
                    443: AB.VE the turtle
                    444: RC=0
                    445: ---------------------------- Test 49 ------------------------------
                    446: ABOVE the elephant 
                    447: AB.VE
                    448: AB.VE the turtle
                    449: PUT NEW DATA ABOVE THIS LINE.
                    450: RC=0
                    451: ---------------------------- Test 50 ------------------------------
                    452: RC=1
                    453: ---------------------------- Test 51 ------------------------------
                    454: over the lazy dog.
                    455: This time it jumps and jumps and jumps.
                    456: RC=0
                    457: ---------------------------- Test 52 ------------------------------
                    458: fox jumps
                    459: This time it jumps and jumps and jumps.
                    460: RC=0
                    461: ---------------------------- Test 53 ------------------------------
                    462: 36972,6
                    463: 36990,4
                    464: 37024,4
                    465: 37066,5
                    466: 37083,4
                    467: RC=0
                    468: ---------------------------- Test 54 ------------------------------
                    469: 595:15,6
                    470: 595:33,4
                    471: 596:28,4
                    472: 597:15,5
                    473: 597:32,4
                    474: RC=0
                    475: ---------------------------- Test 55 -----------------------------
                    476: Here is the pattern again.
                    477: That time it was on a line by itself.
                    478: This line contains pattern not on a line by itself.
                    479: RC=0
                    480: ---------------------------- Test 56 -----------------------------
                    481: ./testdata/grepinput:456
                    482: ./testdata/grepinput3:0
                    483: ./testdata/grepinput8:0
                    484: ./testdata/grepinputv:1
                    485: ./testdata/grepinputx:0
                    486: RC=0
                    487: ---------------------------- Test 57 -----------------------------
                    488: ./testdata/grepinput:456
                    489: ./testdata/grepinputv:1
                    490: RC=0
                    491: ---------------------------- Test 58 -----------------------------
                    492: PATTERN at the start of a line.
                    493: In the middle of a line, PATTERN appears.
                    494: Check up on PATTERN near the end.
                    495: RC=0
                    496: ---------------------------- Test 59 -----------------------------
                    497: PATTERN at the start of a line.
                    498: In the middle of a line, PATTERN appears.
                    499: Check up on PATTERN near the end.
                    500: RC=0
                    501: ---------------------------- Test 60 -----------------------------
                    502: PATTERN at the start of a line.
                    503: In the middle of a line, PATTERN appears.
                    504: Check up on PATTERN near the end.
                    505: RC=0
                    506: ---------------------------- Test 61 -----------------------------
                    507: PATTERN at the start of a line.
                    508: In the middle of a line, PATTERN appears.
                    509: Check up on PATTERN near the end.
                    510: RC=0
                    511: ---------------------------- Test 62 -----------------------------
                    512: pcregrep: pcre_exec() gave error -8 while matching text that starts:
                    513: 
                    514: This is a file of miscellaneous text that is used as test data for checking
                    515: that the pcregrep command is working correctly. The file must be more than 24K
                    516: long so that it needs more than a single read
                    517: 
                    518: pcregrep: Error -8, -21 or -27 means that a resource limit was exceeded.
                    519: pcregrep: Check your regex for nested unlimited loops.
                    520: RC=1
                    521: ---------------------------- Test 63 -----------------------------
                    522: pcregrep: pcre_exec() gave error -21 while matching text that starts:
                    523: 
                    524: This is a file of miscellaneous text that is used as test data for checking
                    525: that the pcregrep command is working correctly. The file must be more than 24K
                    526: long so that it needs more than a single read
                    527: 
                    528: pcregrep: Error -8, -21 or -27 means that a resource limit was exceeded.
                    529: pcregrep: Check your regex for nested unlimited loops.
                    530: RC=1
                    531: ---------------------------- Test 64 ------------------------------
                    532: appears
                    533: RC=0
                    534: ---------------------------- Test 65 ------------------------------
                    535: pear
                    536: RC=0
                    537: ---------------------------- Test 66 ------------------------------
                    538: RC=0
                    539: ---------------------------- Test 67 ------------------------------
                    540: RC=0
                    541: ---------------------------- Test 68 ------------------------------
                    542: pear
                    543: RC=0
                    544: ---------------------------- Test 69 -----------------------------
                    545: 1:This is a second file of input for the pcregrep tests.
                    546: 2:
                    547: 4:
                    548: 5:Pattern
                    549: 6:That time it was on a line by itself.
                    550: 7:
                    551: 8:To pat or not to pat, that is the question.
                    552: 9:
                    553: 10:complete pair
                    554: 11:of lines
                    555: 12:
                    556: 13:That was a complete pair
                    557: 14:of lines all by themselves.
                    558: 15:
                    559: 16:complete pair
                    560: 17:of lines
                    561: 18:
                    562: 19:And there they were again, to check line numbers.
                    563: 20:
                    564: 21:one
                    565: 22:two
                    566: 23:three
                    567: 24:four
                    568: 25:five
                    569: 26:six
                    570: 27:seven
                    571: 28:eight
                    572: 29:nine
                    573: 30:ten
                    574: 31:eleven
                    575: 32:twelve
                    576: 33:thirteen
                    577: 34:fourteen
                    578: 35:fifteen
                    579: 36:sixteen
                    580: 37:seventeen
                    581: 38:eighteen
                    582: 39:nineteen
                    583: 40:twenty
                    584: 41:
                    585: 43:This is the last line of this file.
                    586: RC=0
                    587: ---------------------------- Test 70 -----------------------------
                    588: triple: t1_txt  s1_tag  s_txt   p_tag   p_txt   o_tag   o_txt
                    589: 
                    590: triple:    t3_txt  s2_tag  s_txt   p_tag   p_txt   o_tag   o_txt
                    591: 
                    592: triple:    t4_txt  s1_tag  s_txt   p_tag   p_txt   o_tag   o_txt
                    593: 
                    594: triple:    t6_txt  s2_tag  s_txt   p_tag   p_txt   o_tag   o_txt
                    595: 
                    596: RC=0
                    597: ---------------------------- Test 71 -----------------------------
                    598: 01
                    599: RC=0
                    600: ---------------------------- Test 72 -----------------------------
                    601: 010203040506
                    602: RC=0
                    603: ---------------------------- Test 73 -----------------------------
                    604: 01
                    605: RC=0
                    606: ---------------------------- Test 74 -----------------------------
                    607: 01
                    608: 02
                    609: RC=0
                    610: ---------------------------- Test 75 -----------------------------
                    611: 010203040506
                    612: RC=0
                    613: ---------------------------- Test 76 -----------------------------
                    614: 01
                    615: 02
                    616: RC=0
                    617: ---------------------------- Test 77 -----------------------------
                    618: 01
                    619: 03
                    620: RC=0
                    621: ---------------------------- Test 78 -----------------------------
                    622: 010203040506
                    623: RC=0
                    624: ---------------------------- Test 79 -----------------------------
                    625: 01
                    626: 03
                    627: RC=0
                    628: ---------------------------- Test 80 -----------------------------
                    629: 01
                    630: RC=0
                    631: ---------------------------- Test 81 -----------------------------
                    632: 010203040506
                    633: RC=0
                    634: ---------------------------- Test 82 -----------------------------
                    635: 01
                    636: RC=0
                    637: ---------------------------- Test 83 -----------------------------
                    638: pcregrep: line 4 of file ./testdata/grepinput3 is too long for the internal buffer
                    639: pcregrep: check the --buffer-size option
                    640: RC=2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>