How to grep inverted not showing x lines before/after?
14398
How to grep-inverse-match and exclude "before" and "after" lines
81426
How do I grep file paths out of a text file?
95381
How to run grep and show x number of lines before and after the match
120998
grep'ping files for multiple strings (not necessarily on the same line)
12822
GNU find and masking the {} for some shells - which?
95065
Grep -H not always returning file path when two matches are on the same line
104366
grep and escaping a dollar sign
65925
get first X characters from the cat command?
158360
How can I "grep" patterns across multiple lines?
119870
Why does grep not work with redirection?
128116
How to find patterns across multiple lines using grep?
115046
grep one line before the match plus the match
110967
how to grep a variable name
100911
How to "grep" for line length in a given range?
45421
Sort not sorting lines with a pipe '|' in it correctly
150775
Grep for literal strings
126833
Is there any alternative to grep's -A -B -C switches (to print few lines before and after )?