query: How shall I grep a multi-line pattern in a pdf file and in a text file?
positive_passages.docid: 26565
positive_passages.text: How can I get the page numbers only of a pattern in a pdf file, regardless if the pattern is multiline?
negative_passages.docid: 42322
negative_passages.text: Extracting text from PDFs in C#
negative_passages.docid: 59603
negative_passages.text: How to print lines between two patterns, inclusive or exclusive (in sed, AWK or Perl)?
negative_passages.docid: 57165
negative_passages.text: How do I grep lines ending on a specific expression
negative_passages.docid: 71826
negative_passages.text: How do I grep for multiple patterns with pattern having a pipe character?
negative_passages.docid: 92432
negative_passages.text: Matching text using grep or awk
negative_passages.docid: 125932
negative_passages.text: How to grep for text in a file and display the paragraph that has the text?
negative_passages.docid: 60826
negative_passages.text: Regular expression matching a multiline block of text
negative_passages.docid: 150490
negative_passages.text: Using grep to find a string
negative_passages.docid: 3336
negative_passages.text: I want to search a pattern from one file in another
negative_passages.docid: 50456
negative_passages.text: What does the 'grep' command do?
negative_passages.docid: 53598
negative_passages.text: Print lines between (and excluding) two patterns
negative_passages.docid: 73908
negative_passages.text: How can I "merge" patterns in a single line?
negative_passages.docid: 50014
negative_passages.text: Problems with regex in grep
negative_passages.docid: 970
negative_passages.text: grep for text in *.odt or *.doc files?
negative_passages.docid: 129249
negative_passages.text: How to use grep and cut together?
negative_passages.docid: 156045
negative_passages.text: How do I grep for lines containing either of two words, but not both?