grep – show lines until certain pattern
74038
How do I grep for multiple patterns on multiple lines?
173
Multiline pattern match using sed, awk or grep
116258
Count number of occurrences of a pattern on same line
6434
grep a file, but show several surrounding lines?
112581
Replacing pattern after nth match is found on each line?
49331
How to loop over the lines of a file?
33198
grep not working as expected
125932
How to grep for text in a file and display the paragraph that has the text?
107158
grep with logic operators
17129
How to use grep to search for a pattern which starts with a hyphen (-)?
65417
How to get all lines between first and last occurrences of patterns?
110270
Grep: how to add an "OR" condition?
59603
How to print lines between two patterns, inclusive or exclusive (in sed, AWK or Perl)?
136673
How to print file content only if the first line matches a certain pattern?
37544
Starting a line where the previous line finishes
108858
match until a certain pattern using regex
43159
Print lines between (and including) two patterns