query: How can I make grep print the lines below and above each matching line?
positive_passages.docid: 6434
positive_passages.text: grep a file, but show several surrounding lines?
negative_passages.docid: 36905
negative_passages.text: Convince grep to output all lines, not just those with matches
negative_passages.docid: 95065
negative_passages.text: Grep -H not always returning file path when two matches are on the same line
negative_passages.docid: 46459
negative_passages.text: print specific line and then some more
negative_passages.docid: 83564
negative_passages.text: How to grep lines which does not begin with "#" or ";"?
negative_passages.docid: 119124
negative_passages.text: grep for string not preceded by another string
negative_passages.docid: 75302
negative_passages.text: How to grep a date lesser than a particular date in a file
negative_passages.docid: 23506
negative_passages.text: Why doesn't grep using pipe work here?
negative_passages.docid: 8411
negative_passages.text: How can I format a list to print each element on a separate line in python?
negative_passages.docid: 137070
negative_passages.text: If column matches another file, print every line with match (awk/grep)
negative_passages.docid: 13667
negative_passages.text: Print file content without the first and last lines
negative_passages.docid: 155976
negative_passages.text: How to join a line with a pattern with the next line with sed?
negative_passages.docid: 17305
negative_passages.text: using perl, how to select last 2 lines in the case of each row has same word?
negative_passages.docid: 99629
negative_passages.text: How to combine two grep statements and display their results together?
negative_passages.docid: 151275
negative_passages.text: grep. Find multiple AND patterns in any order using single condition
negative_passages.docid: 20644
negative_passages.text: How to get output of variable with line breaks?
negative_passages.docid: 100478
negative_passages.text: How can I exclude the lines which matche the range patterns in sed?