Print lines of a file between two matching patterns
16787
How to select first occurrence between two patterns including them
158360
How can I "grep" patterns across multiple lines?
92456
compare two files ignoring 1st column and print line number
129807
How to search duplicate users in two files and then print those lines?
95381
How to run grep and show x number of lines before and after the match
107175
How to print matched regex pattern using awk?
2558
Fast way of finding lines in one file that are not in another?
50962
Reading grep patterns from a file
143494
Print only the Nth line before each line that matches a pattern
137070
If column matches another file, print every line with match (awk/grep)
38279
Print two files in two columns
50383
How can I search for a multiline pattern in a file?
54909
Substitute pattern within a file with the content of other file
69593
Find files with matched whole lines from a file
45385
Finding contents of one file in another file
43994
How can I redirect matching lines to a file, and non-matching lines to a different file?
101216
search multiple pattern in file and delete line if pattern matches