query: Printing all lines between two strings, with one as a user input, using sed
positive_passages.docid: 12961
positive_passages.text: How can I use variables in the LHS and RHS of a sed substitution?
negative_passages.docid: 54837
negative_passages.text: How do I use variables in a sed command?
negative_passages.docid: 53598
negative_passages.text: Print lines between (and excluding) two patterns
negative_passages.docid: 158360
negative_passages.text: How can I "grep" patterns across multiple lines?
negative_passages.docid: 94738
negative_passages.text: Non-greedy match with SED regex (emulate perl's .*?)
negative_passages.docid: 77828
negative_passages.text: Can sed save its output to a file?
negative_passages.docid: 77691
negative_passages.text: How to replace line in file with pattern with sed?
negative_passages.docid: 90779
negative_passages.text: awk, sed, or other text processing suggestions, please
negative_passages.docid: 10632
negative_passages.text: sed regular expression behaving differently than in vim and perl?
negative_passages.docid: 5664
negative_passages.text: How can I extract/change lines in a text file whose data are separated into fields?
negative_passages.docid: 141504
negative_passages.text: Get string between two strings in a string
negative_passages.docid: 84953
negative_passages.text: Multi-Line Sed Replace
negative_passages.docid: 51501
negative_passages.text: sed find and replace between two tags with multi line
negative_passages.docid: 67265
negative_passages.text: How to print one character at a time on one line?
negative_passages.docid: 15107
negative_passages.text: Using sed to consolidate diff output
negative_passages.docid: 68782
negative_passages.text: How to split long sed expression into multiple lines?
negative_passages.docid: 69678
negative_passages.text: How do I display all the characters between two specific strings?