Remove adjacent lines that match pattern
106070
bash unique line id
43159
Print lines between (and including) two patterns
52022
Remove trailing newline from the elements of a string list
36074
Grep lines between start & end pattern even end pattern in next file
117465
Python extract pattern matches
118486
Detecting pattern at the end of a line with grep
155976
How to join a line with a pattern with the next line with sed?
6434
grep a file, but show several surrounding lines?
46610
Regex: match everything but specific pattern
48058
Deleting Lines Containing a Specified String in Different Files
31062
Elegant way to remove items from sequence in Python?
36913
How to remove lines included in one file from another file?
54909
Substitute pattern within a file with the content of other file
55246
Remove line containing certain string and the following line
104310
How to only substitute lines that match several patterns in sed?
75654
How could I compare two files and remove similar rows in them (bash script)
65417
How to get all lines between first and last occurrences of patterns?