I have a large file and a list of my specific strings. The output should not contain my specific lines and one more after each of them. For example,
Specific lines:
'ggg'
'sss
‘
Input:
'ggg'
'123'
'rrr'
'321'
'sss'
'666
‘
Output:
'rrr'
'321'
Simple grep -v -A 1 does not work
New contributor
Женя Гончаров is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.