query: How to selectively join lines starting with a pattern
positive_passages.docid: 155976
positive_passages.text: How to join a line with a pattern with the next line with sed?
negative_passages.docid: 124823
negative_passages.text: Inserting a file into another file after the 1st occurrence of a pattern
negative_passages.docid: 29090
negative_passages.text: Return only the portion of a line after a matching pattern
negative_passages.docid: 57165
negative_passages.text: How do I grep lines ending on a specific expression
negative_passages.docid: 112581
negative_passages.text: Replacing pattern after nth match is found on each line?
negative_passages.docid: 103324
negative_passages.text: sed - Print lines matched by a pattern range if one line matches a condition
negative_passages.docid: 158360
negative_passages.text: How can I "grep" patterns across multiple lines?
negative_passages.docid: 22055
negative_passages.text: How to find files containing two strings in different lines
negative_passages.docid: 154473
negative_passages.text: How to ignore list elements when extracting with pattern matching
negative_passages.docid: 70955
negative_passages.text: Reduce number of consecutive lines with hyphenation
negative_passages.docid: 136431
negative_passages.text: Split file into multiple files based on pattern
negative_passages.docid: 80516
negative_passages.text: Return previous line of all matches
negative_passages.docid: 89775
negative_passages.text: split file lines based on first field
negative_passages.docid: 106680
negative_passages.text: Find multiple blank lines in Notepad++ and join the separated text lines
negative_passages.docid: 15445
negative_passages.text: Merge lines between keywords into one-line comma separated values
negative_passages.docid: 130269
negative_passages.text: how can I combine these lines
negative_passages.docid: 26738
negative_passages.text: listing files with pattern with starting and ending