Pattern matching and grep together
103324
sed - Print lines matched by a pattern range if one line matches a condition
23494
How to make  grep display only the matching regexp?
119124
grep for string not preceded by another string
23506
Why doesn't grep using pipe work here?
6950
Pattern matching multiple symbols names and powers
46301
How to find lines matching a pattern and delete them?
12219
grep files from list
107892
output neighbouring lines with line numbers while grepping
7623
How to run grep with multiple AND patterns?
101216
search multiple pattern in file and delete line if pattern matches
50383
How can I search for a multiline pattern in a file?
107158
grep with logic operators
36905
Convince grep to output all lines, not just those with matches
129609
Grep searching two words in a line
41139
Modifying the search result of grep
13444
Can grep show only words that match search pattern?
43255
grep on a variable