"Fossies" - the Fresh Open Source Software Archive

Member "pcre-8.42/testdata/grepoutput" (5 Aug 2015, 20916 Bytes) of package /linux/misc/pcre-8.42.tar.bz2:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

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