Grep the lines between the occurrence of the same pattern
136431
Split file into multiple files based on pattern
112581
Replacing pattern after nth match is found on each line?
80516
Return previous line of all matches
74038
How do I grep for multiple patterns on multiple lines?
136596
grep lines starting with "1" in Ubuntu
5760
How to extract characters between the delimiters using sed?
17129
How to use grep to search for a pattern which starts with a hyphen (-)?
89040
Common lines between two files
69754
How to display line number while doing grep on a file
40166
How can I extract a predetermined range of lines from a text file on Unix?
19261
Match two strings in one line with grep
36074
Grep lines between start & end pattern even end pattern in next file
129609
Grep searching two words in a line
43159
Print lines between (and including) two patterns
106334
extract value between two search patterns on same line
75160
Matching a sentence with grep
151275
grep. Find multiple AND patterns in any order using single condition