How to grep lines between start and end pattern?
43159
Print lines between (and including) two patterns
112581
Replacing pattern after nth match is found on each line?
69754
How to display line number while doing grep on a file
88828
Range of lines in file
29090
Return only the portion of a line after a matching pattern
139542
How to search multiple search patterns from a file with grep
22055
How to find files containing two strings in different lines
153876
How to extract logs between two time stamps
32721
Removing lines from text file that contain string at beginning and string at end - and keep one
107892
output neighbouring lines with line numbers while grepping
69593
Find files with matched whole lines from a file
100478
How can I exclude the lines which matche the range patterns in sed?
114565
GREP / SED or AWK: Print entire paragraph in a file on pattern match
95065
Grep -H not always returning file path when two matches are on the same line
46301
How to find lines matching a pattern and delete them?
173
Multiline pattern match using sed, awk or grep
107158
grep with logic operators