sed - Print lines matched by a pattern range if one line matches a condition
40849
Search for a string and print everything before and after within a range
13777
AWK - print range of columns
95381
How to run grep and show x number of lines before and after the match
50962
Reading grep patterns from a file
71826
How do I grep for multiple patterns with pattern having a pipe character?
36074
Grep lines between start & end pattern even end pattern in next file
94529
Using 'sed' to find and replace
158532
replace a string with sed from specific lines
90779
awk, sed, or other text processing suggestions, please
12642
sed command not giving proper output for regular expression used
118486
Detecting pattern at the end of a line with grep
135293
sed Match character range
112581
Replacing pattern after nth match is found on each line?
156045
How do I grep for lines containing either of two words, but not both?
158360
How can I "grep" patterns across multiple lines?
77691
How to replace line in file with pattern with sed?
152030
How to match a pattern with a pattern?