grepoutput 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982
  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. 623: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:623: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. 623: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. pcre2grep: Error in command-line regex at offset 4: quantifier does not follow a repeatable item
  104. RC=2
  105. ---------------------------- Test 16 -----------------------------
  106. pcre2grep: 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. 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. complete pair
  211. of lines
  212. And there they were again, to check line numbers.
  213. one
  214. two
  215. three
  216. four
  217. five
  218. six
  219. seven
  220. eight
  221. nine
  222. ten
  223. eleven
  224. twelve
  225. thirteen
  226. fourteen
  227. fifteen
  228. sixteen
  229. seventeen
  230. eighteen
  231. nineteen
  232. twenty
  233. This line contains pattern not on a line by itself.
  234. This is the last line of this file.
  235. RC=0
  236. ---------------------------- Test 27 -----------------------------
  237. four
  238. five
  239. six
  240. seven
  241. eight
  242. nine
  243. ten
  244. eleven
  245. twelve
  246. thirteen
  247. fourteen
  248. fifteen
  249. sixteen
  250. seventeen
  251. eighteen
  252. nineteen
  253. twenty
  254. This line contains pattern not on a line by itself.
  255. This is the last line of this file.
  256. RC=0
  257. ---------------------------- Test 28 -----------------------------
  258. 14-of lines all by themselves.
  259. 15-
  260. 16-complete pair
  261. 17-of lines
  262. 18-
  263. 19-And there they were again, to check line numbers.
  264. 20-
  265. 21-one
  266. 22-two
  267. 23-three
  268. 24:four
  269. 25-five
  270. 26-six
  271. 27-seven
  272. 28-eight
  273. 29-nine
  274. 30-ten
  275. 31-eleven
  276. 32-twelve
  277. 33-thirteen
  278. 34:fourteen
  279. RC=0
  280. ---------------------------- Test 29 -----------------------------
  281. of lines all by themselves.
  282. complete pair
  283. of lines
  284. And there they were again, to check line numbers.
  285. one
  286. two
  287. three
  288. four
  289. five
  290. six
  291. seven
  292. eight
  293. nine
  294. ten
  295. eleven
  296. twelve
  297. thirteen
  298. fourteen
  299. fifteen
  300. sixteen
  301. seventeen
  302. eighteen
  303. nineteen
  304. twenty
  305. This line contains pattern not on a line by itself.
  306. This is the last line of this file.
  307. RC=0
  308. ---------------------------- Test 30 -----------------------------
  309. ./testdata/grepinput-4-features should be added at the end, because some of the tests involve the
  310. ./testdata/grepinput-5-output of line numbers, and we don't want these to change.
  311. ./testdata/grepinput-6-
  312. ./testdata/grepinput:7:PATTERN at the start of a line.
  313. ./testdata/grepinput:8:In the middle of a line, PATTERN appears.
  314. ./testdata/grepinput-9-
  315. ./testdata/grepinput:10:This pattern is in lower case.
  316. --
  317. ./testdata/grepinput-620-PUT NEW DATA ABOVE THIS LINE.
  318. ./testdata/grepinput-621-=============================
  319. ./testdata/grepinput-622-
  320. ./testdata/grepinput:623:Check up on PATTERN near the end.
  321. --
  322. ./testdata/grepinputx-1-This is a second file of input for the pcregrep tests.
  323. ./testdata/grepinputx-2-
  324. ./testdata/grepinputx:3:Here is the pattern again.
  325. ./testdata/grepinputx-4-
  326. ./testdata/grepinputx:5:Pattern
  327. --
  328. ./testdata/grepinputx-39-nineteen
  329. ./testdata/grepinputx-40-twenty
  330. ./testdata/grepinputx-41-
  331. ./testdata/grepinputx:42:This line contains pattern not on a line by itself.
  332. RC=0
  333. ---------------------------- Test 31 -----------------------------
  334. ./testdata/grepinput:7:PATTERN at the start of a line.
  335. ./testdata/grepinput:8:In the middle of a line, PATTERN appears.
  336. ./testdata/grepinput-9-
  337. ./testdata/grepinput:10:This pattern is in lower case.
  338. ./testdata/grepinput-11-
  339. ./testdata/grepinput-12-Here follows a whole lot of stuff that makes the file over 24KiB long.
  340. ./testdata/grepinput-13-
  341. --
  342. ./testdata/grepinput:623:Check up on PATTERN near the end.
  343. ./testdata/grepinput-624-This is the last line of this file.
  344. --
  345. ./testdata/grepinputx:3:Here is the pattern again.
  346. ./testdata/grepinputx-4-
  347. ./testdata/grepinputx:5:Pattern
  348. ./testdata/grepinputx-6-That time it was on a line by itself.
  349. ./testdata/grepinputx-7-
  350. ./testdata/grepinputx-8-To pat or not to pat, that is the question.
  351. --
  352. ./testdata/grepinputx:42:This line contains pattern not on a line by itself.
  353. ./testdata/grepinputx-43-This is the last line of this file.
  354. RC=0
  355. ---------------------------- Test 32 -----------------------------
  356. ./testdata/grepinputx
  357. RC=0
  358. ---------------------------- Test 33 -----------------------------
  359. pcre2grep: Failed to open ./testdata/grepnonexist: No such file or directory
  360. RC=2
  361. ---------------------------- Test 34 -----------------------------
  362. RC=2
  363. ---------------------------- Test 35 -----------------------------
  364. ./testdata/grepinput8
  365. ./testdata/grepinputx
  366. RC=0
  367. ---------------------------- Test 36 -----------------------------
  368. ./testdata/grepinput3
  369. ./testdata/grepinputx
  370. RC=0
  371. ---------------------------- Test 37 -----------------------------
  372. 24KiB long so that it needs more than a single read() call to process it. New
  373. aaaaa0
  374. aaaaa2
  375. 010203040506
  376. RC=0
  377. ======== STDERR ========
  378. pcre2grep: pcre2_match() gave error -47 while matching this text:
  379. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  380. pcre2grep: pcre2_match() gave error -47 while matching this text:
  381. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  382. pcre2grep: Error -46, -47, -53 or -63 means that a resource limit was exceeded.
  383. pcre2grep: Check your regex for nested unlimited loops.
  384. ---------------------------- Test 38 ------------------------------
  385. This line contains a binary zero here >�< for testing.
  386. RC=0
  387. ---------------------------- Test 39 ------------------------------
  388. This is a line before the binary zero.
  389. This line contains a binary zero here >�< for testing.
  390. RC=0
  391. ---------------------------- Test 40 ------------------------------
  392. This line contains a binary zero here >�< for testing.
  393. This is a line after the binary zero.
  394. RC=0
  395. ---------------------------- Test 41 ------------------------------
  396. before the binary zero
  397. after the binary zero
  398. RC=0
  399. ---------------------------- Test 42 ------------------------------
  400. ./testdata/grepinput:595:before the binary zero
  401. ./testdata/grepinput:597:after the binary zero
  402. RC=0
  403. ---------------------------- Test 43 ------------------------------
  404. 595:before
  405. 595:zero
  406. 596:zero
  407. 597:after
  408. 597:zero
  409. RC=0
  410. ---------------------------- Test 44 ------------------------------
  411. 595:before
  412. 595:zero
  413. 596:zero
  414. 597:zero
  415. RC=0
  416. ---------------------------- Test 45 ------------------------------
  417. 10:pattern
  418. 595:binary
  419. 596:binary
  420. 597:binary
  421. RC=0
  422. ---------------------------- Test 46 ------------------------------
  423. pcre2grep: Error in 2nd command-line regex at offset 9: missing closing parenthesis
  424. RC=2
  425. ---------------------------- Test 47 ------------------------------
  426. AB.VE
  427. RC=0
  428. ---------------------------- Test 48 ------------------------------
  429. ABOVE the elephant
  430. AB.VE
  431. AB.VE the turtle
  432. RC=0
  433. ---------------------------- Test 49 ------------------------------
  434. ABOVE the elephant
  435. AB.VE
  436. AB.VE the turtle
  437. PUT NEW DATA ABOVE THIS LINE.
  438. RC=0
  439. ---------------------------- Test 50 ------------------------------
  440. RC=1
  441. ---------------------------- Test 51 ------------------------------
  442. over the lazy dog.
  443. This time it jumps and jumps and jumps.
  444. This line contains \E and (regex) *meta* [characters].
  445. The word is cat in this line
  446. The caterpillar sat on the mat
  447. The snowcat is not an animal
  448. A buried feline in the syndicate
  449. RC=0
  450. ---------------------------- Test 52 ------------------------------
  451. fox jumps
  452. This time it jumps and jumps and jumps.
  453. RC=0
  454. ---------------------------- Test 53 ------------------------------
  455. 36976,6
  456. 36994,4
  457. 37028,4
  458. 37070,5
  459. 37087,4
  460. RC=0
  461. ---------------------------- Test 54 ------------------------------
  462. 595:15,6
  463. 595:33,4
  464. 596:28,4
  465. 597:15,5
  466. 597:32,4
  467. RC=0
  468. ---------------------------- Test 55 -----------------------------
  469. Here is the pattern again.
  470. That time it was on a line by itself.
  471. This line contains pattern not on a line by itself.
  472. RC=0
  473. ---------------------------- Test 56 -----------------------------
  474. ./testdata/grepinput:456
  475. ./testdata/grepinput3:0
  476. ./testdata/grepinput8:0
  477. ./testdata/grepinputM:0
  478. ./testdata/grepinputv:1
  479. ./testdata/grepinputx:0
  480. RC=0
  481. ---------------------------- Test 57 -----------------------------
  482. ./testdata/grepinput:456
  483. ./testdata/grepinputv:1
  484. RC=0
  485. ---------------------------- Test 58 -----------------------------
  486. PATTERN at the start of a line.
  487. In the middle of a line, PATTERN appears.
  488. Check up on PATTERN near the end.
  489. RC=0
  490. ---------------------------- Test 59 -----------------------------
  491. PATTERN at the start of a line.
  492. In the middle of a line, PATTERN appears.
  493. Check up on PATTERN near the end.
  494. RC=0
  495. ---------------------------- Test 60 -----------------------------
  496. PATTERN at the start of a line.
  497. In the middle of a line, PATTERN appears.
  498. Check up on PATTERN near the end.
  499. RC=0
  500. ---------------------------- Test 61 -----------------------------
  501. PATTERN at the start of a line.
  502. In the middle of a line, PATTERN appears.
  503. Check up on PATTERN near the end.
  504. RC=0
  505. ---------------------------- Test 62 -----------------------------
  506. pcre2grep: pcre2_match() gave error -47 while matching text that starts:
  507. This is a file of miscellaneous text that is used as test data for checking
  508. that the pcregrep command is working correctly. The file must be more than
  509. 24KiB long so that it needs more than a single re
  510. pcre2grep: Error -46, -47, -53 or -63 means that a resource limit was exceeded.
  511. pcre2grep: Check your regex for nested unlimited loops.
  512. RC=1
  513. ---------------------------- Test 63 -----------------------------
  514. pcre2grep: pcre2_match() gave error -53 while matching text that starts:
  515. This is a file of miscellaneous text that is used as test data for checking
  516. that the pcregrep command is working correctly. The file must be more than
  517. 24KiB long so that it needs more than a single re
  518. pcre2grep: Error -46, -47, -53 or -63 means that a resource limit was exceeded.
  519. pcre2grep: Check your regex for nested unlimited loops.
  520. RC=1
  521. ---------------------------- Test 64 ------------------------------
  522. appears
  523. RC=0
  524. ---------------------------- Test 65 ------------------------------
  525. pear
  526. RC=0
  527. ---------------------------- Test 66 ------------------------------
  528. RC=0
  529. ---------------------------- Test 67 ------------------------------
  530. RC=0
  531. ---------------------------- Test 68 ------------------------------
  532. pear
  533. RC=0
  534. ---------------------------- Test 69 -----------------------------
  535. 1:This is a second file of input for the pcregrep tests.
  536. 2:
  537. 4:
  538. 5:Pattern
  539. 6:That time it was on a line by itself.
  540. 7:
  541. 8:To pat or not to pat, that is the question.
  542. 9:
  543. 10:complete pair
  544. 11:of lines
  545. 12:
  546. 13:That was a complete pair
  547. 14:of lines all by themselves.
  548. 15:
  549. 16:complete pair
  550. 17:of lines
  551. 18:
  552. 19:And there they were again, to check line numbers.
  553. 20:
  554. 21:one
  555. 22:two
  556. 23:three
  557. 24:four
  558. 25:five
  559. 26:six
  560. 27:seven
  561. 28:eight
  562. 29:nine
  563. 30:ten
  564. 31:eleven
  565. 32:twelve
  566. 33:thirteen
  567. 34:fourteen
  568. 35:fifteen
  569. 36:sixteen
  570. 37:seventeen
  571. 38:eighteen
  572. 39:nineteen
  573. 40:twenty
  574. 41:
  575. 43:This is the last line of this file.
  576. RC=0
  577. ---------------------------- Test 70 -----------------------------
  578. triple: t1_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  579. triple: t3_txt s2_tag s_txt p_tag p_txt o_tag o_txt
  580. triple: t4_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  581. triple: t6_txt s2_tag s_txt p_tag p_txt o_tag o_txt
  582. RC=0
  583. 1:triple: t1_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  584. 6:triple: t3_txt s2_tag s_txt p_tag p_txt o_tag o_txt
  585. 8:triple: t4_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  586. 13:triple: t6_txt s2_tag s_txt p_tag p_txt o_tag o_txt
  587. RC=0
  588. triple: t1_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  589. triple: t3_txt s2_tag s_txt p_tag p_txt o_tag o_txt
  590. triple: t4_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  591. triple: t6_txt s2_tag s_txt p_tag p_txt o_tag o_txt
  592. RC=0
  593. 1:triple: t1_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  594. 6:triple: t3_txt s2_tag s_txt p_tag p_txt o_tag o_txt
  595. 8:triple: t4_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  596. 13:triple: t6_txt s2_tag s_txt p_tag p_txt o_tag o_txt
  597. RC=0
  598. ---------------------------- Test 71 -----------------------------
  599. 01
  600. RC=0
  601. ---------------------------- Test 72 -----------------------------
  602. 010203040506
  603. RC=0
  604. ---------------------------- Test 73 -----------------------------
  605. 01
  606. RC=0
  607. ---------------------------- Test 74 -----------------------------
  608. 01
  609. 02
  610. RC=0
  611. ---------------------------- Test 75 -----------------------------
  612. 010203040506
  613. RC=0
  614. ---------------------------- Test 76 -----------------------------
  615. 01
  616. 02
  617. RC=0
  618. ---------------------------- Test 77 -----------------------------
  619. 01
  620. 03
  621. RC=0
  622. ---------------------------- Test 78 -----------------------------
  623. 010203040506
  624. RC=0
  625. ---------------------------- Test 79 -----------------------------
  626. 01
  627. 03
  628. RC=0
  629. ---------------------------- Test 80 -----------------------------
  630. 01
  631. RC=0
  632. ---------------------------- Test 81 -----------------------------
  633. 010203040506
  634. RC=0
  635. ---------------------------- Test 82 -----------------------------
  636. 01
  637. RC=0
  638. ---------------------------- Test 83 -----------------------------
  639. pcre2grep: line 4 of file ./testdata/grepinput3 is too long for the internal buffer
  640. pcre2grep: the maximum buffer size is 100
  641. pcre2grep: use the --max-buffer-size option to change it
  642. RC=2
  643. ---------------------------- Test 84 -----------------------------
  644. testdata/grepinputv:fox jumps
  645. testdata/grepinputx:complete pair
  646. testdata/grepinputx:That was a complete pair
  647. testdata/grepinputx:complete pair
  648. testdata/grepinput3:triple: t7_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  649. RC=0
  650. ---------------------------- Test 85 -----------------------------
  651. ./testdata/grepinput3:Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  652. RC=0
  653. ---------------------------- Test 86 -----------------------------
  654. Binary file ./testdata/grepbinary matches
  655. RC=0
  656. ---------------------------- Test 87 -----------------------------
  657. RC=1
  658. ---------------------------- Test 88 -----------------------------
  659. Binary file ./testdata/grepbinary matches
  660. RC=0
  661. ---------------------------- Test 89 -----------------------------
  662. RC=1
  663. ---------------------------- Test 90 -----------------------------
  664. RC=1
  665. ---------------------------- Test 91 -----------------------------
  666. The quick brown f�x jumps over the lazy dog.
  667. RC=0
  668. ---------------------------- Test 92 -----------------------------
  669. The quick brown f�x jumps over the lazy dog.
  670. RC=0
  671. ---------------------------- Test 93 -----------------------------
  672. The quick brown f�x jumps over the lazy dog.
  673. RC=0
  674. ---------------------------- Test 94 -----------------------------
  675. ./testdata/grepinput8
  676. ./testdata/grepinputx
  677. RC=0
  678. ---------------------------- Test 95 -----------------------------
  679. testdata/grepinputx:complete pair
  680. testdata/grepinputx:That was a complete pair
  681. testdata/grepinputx:complete pair
  682. RC=0
  683. ---------------------------- Test 96 -----------------------------
  684. ./testdata/grepinput3
  685. ./testdata/grepinput8
  686. ./testdata/grepinputx
  687. RC=0
  688. ---------------------------- Test 97 -----------------------------
  689. ./testdata/grepinput3
  690. ./testdata/grepinputx
  691. RC=0
  692. ---------------------------- Test 98 -----------------------------
  693. ./testdata/grepinputx
  694. RC=0
  695. ---------------------------- Test 99 -----------------------------
  696. ./testdata/grepinput3
  697. ./testdata/grepinputx
  698. RC=0
  699. ---------------------------- Test 100 ------------------------------
  700. ./testdata/grepinput:zerothe.
  701. ./testdata/grepinput:zeroa
  702. ./testdata/grepinput:zerothe.
  703. RC=0
  704. ---------------------------- Test 101 ------------------------------
  705. ./testdata/grepinput:.|zero|the|.
  706. ./testdata/grepinput:zero|a
  707. ./testdata/grepinput:.|zero|the|.
  708. RC=0
  709. ---------------------------- Test 102 -----------------------------
  710. 2:
  711. 5:
  712. 7:
  713. 9:
  714. 12:
  715. 14:
  716. RC=0
  717. ---------------------------- Test 103 -----------------------------
  718. RC=0
  719. ---------------------------- Test 104 -----------------------------
  720. 2:
  721. 5:
  722. 7:
  723. 9:
  724. 12:
  725. 14:
  726. RC=0
  727. ---------------------------- Test 105 -----------------------------
  728. triple: t1_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  729. triple: t2_txt s1_tag s_txt p_tag p_txt o_tag
  730. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  731. triple: t3_txt s2_tag s_txt p_tag p_txt o_tag o_txt
  732. triple: t4_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  733. triple: t5_txt s1_tag s_txt p_tag p_txt o_tag
  734. o_txt
  735. triple: t6_txt s2_tag s_txt p_tag p_txt o_tag o_txt
  736. triple: t7_txt s1_tag s_txt p_tag p_txt o_tag o_txt
  737. RC=0
  738. ---------------------------- Test 106 -----------------------------
  739. a
  740. RC=0
  741. ---------------------------- Test 107 -----------------------------
  742. 1:0,1
  743. 2:0,1
  744. 2:1,1
  745. 2:2,1
  746. 2:3,1
  747. 2:4,1
  748. RC=0
  749. ---------------------------- Test 108 ------------------------------
  750. RC=0
  751. ---------------------------- Test 109 -----------------------------
  752. RC=0
  753. ---------------------------- Test 110 -----------------------------
  754. match 1:
  755. a
  756. /1/a
  757. match 2:
  758. b
  759. /2/b
  760. match 3:
  761. c
  762. /3/c
  763. match 4:
  764. d
  765. /4/d
  766. match 5:
  767. e
  768. /5/e
  769. RC=0
  770. ---------------------------- Test 111 -----------------------------
  771. 607:0,12
  772. 609:0,12
  773. 611:0,12
  774. 613:0,12
  775. 615:0,12
  776. RC=0
  777. ---------------------------- Test 112 -----------------------------
  778. 37172,12
  779. 37184,12
  780. 37196,12
  781. 37208,12
  782. 37220,12
  783. RC=0
  784. ---------------------------- Test 113 -----------------------------
  785. 480
  786. RC=0
  787. ---------------------------- Test 114 -----------------------------
  788. testdata/grepinput:469
  789. testdata/grepinput3:0
  790. testdata/grepinput8:0
  791. testdata/grepinputM:2
  792. testdata/grepinputv:3
  793. testdata/grepinputx:6
  794. TOTAL:480
  795. RC=0
  796. ---------------------------- Test 115 -----------------------------
  797. testdata/grepinput:469
  798. testdata/grepinputM:2
  799. testdata/grepinputv:3
  800. testdata/grepinputx:6
  801. TOTAL:480
  802. RC=0
  803. ---------------------------- Test 116 -----------------------------
  804. 478
  805. RC=0
  806. ---------------------------- Test 117 -----------------------------
  807. 469
  808. 0
  809. 0
  810. 2
  811. 3
  812. 6
  813. 480
  814. RC=0
  815. ---------------------------- Test 118 -----------------------------
  816. testdata/grepinput3
  817. testdata/grepinput8
  818. RC=0
  819. ---------------------------- Test 119 -----------------------------
  820. 123
  821. 456
  822. 789
  823. ---
  824. abc
  825. def
  826. xyz
  827. ---
  828. RC=0
  829. ---------------------------- Test 120 ------------------------------
  830. ./testdata/grepinput:the binary zero.:zerothe.
  831. ./testdata/grepinput:a binary zero:zeroa
  832. ./testdata/grepinput:the binary zero.:zerothe.
  833. RC=0
  834. ---------------------------- Test 121 -----------------------------
  835. This line contains \E and (regex) *meta* [characters].
  836. RC=0
  837. ---------------------------- Test 122 -----------------------------
  838. over the lazy dog.
  839. The word is cat in this line
  840. RC=0
  841. ---------------------------- Test 123 -----------------------------
  842. over the lazy dog.
  843. The word is cat in this line
  844. RC=0
  845. ---------------------------- Test 124 -----------------------------
  846. 3:start end in between start
  847. end and following
  848. 7:start end in between start
  849. end and following start
  850. end other stuff
  851. 11:start end in between start
  852. end
  853. 16:start end in between start
  854. end
  855. RC=0
  856. 3:start end in between start
  857. end and following
  858. 5-Other stuff
  859. 6-
  860. 7:start end in between start
  861. end and following start
  862. end other stuff
  863. 10-
  864. 11:start end in between start
  865. end
  866. 14-
  867. 15-** These two lines must be last.
  868. 16:start end in between start
  869. end
  870. RC=0
  871. 3:start end in between start
  872. end and following
  873. 7:start end in between start
  874. end and following start
  875. end other stuff
  876. 11:start end in between start
  877. end
  878. 16:start end in between start
  879. end
  880. RC=0
  881. 3:start end in between start
  882. end and following
  883. 5-Other stuff
  884. 6-
  885. 7:start end in between start
  886. end and following start
  887. end other stuff
  888. 10-
  889. 11:start end in between start
  890. end
  891. 14-
  892. 15-** These two lines must be last.
  893. 16:start end in between start
  894. end
  895. RC=0
  896. ---------------------------- Test 125 -----------------------------
  897. abcd
  898. RC=0
  899. abcd
  900. RC=0
  901. abcd
  902. RC=0
  903. abcd
  904. RC=0
  905. ---------------------------- Test 126 -----------------------------
  906. ABC�XYZ
  907. RC=0
  908. ---------------------------- Test 127 -----------------------------
  909. pattern
  910. RC=0
  911. ---------------------------- Test 128 -----------------------------
  912. pcre2grep: Requested group 1 cannot be captured.
  913. pcre2grep: Use --om-capture to increase the size of the capture vector.
  914. RC=2
  915. ---------------------------- Test 129 -----------------------------
  916. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the
  917. lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox
  918. RC=0
  919. ---------------------------- Test 130 -----------------------------
  920. fox
  921. fox
  922. fox
  923. fox
  924. RC=0
  925. ---------------------------- Test 131 -----------------------------
  926. 2
  927. RC=0
  928. ---------------------------- Test 132 -----------------------------
  929. match 1:
  930. a
  931. match 2:
  932. b
  933. ---
  934. a
  935. RC=0
  936. ---------------------------- Test 133 -----------------------------
  937. =AB3CD5=
  938. RC=0