Match lines between two patters using sed just once
16787
How to select first occurrence between two patterns including them
11072
Can sed replace new line characters?
94061
How to append the first line at the end of each line of a file with Sed?
103324
sed - Print lines matched by a pattern range if one line matches a condition
42244
Replace \n by a newline in sed portably
48457
Circumvent the sed backreference limit \1 through \9
53598
Print lines between (and excluding) two patterns
135293
sed Match character range
90078
Non greedy (reluctant) regex matching in sed?
5760
How to extract characters between the delimiters using sed?
57603
Using sed to delete a whole line if it contains only specific number
15107
Using sed to consolidate diff output
39116
sed : Ignore line starting whitespace for match
74038
How do I grep for multiple patterns on multiple lines?
114565
GREP / SED or AWK: Print entire paragraph in a file on pattern match
155976
How to join a line with a pattern with the next line with sed?
40205
Cleanly swap all occurences of two strings using sed