I have the following command : sed -i -e '/match1/,+2d' filex
, which deletes 2 lines after finding the match "match1" in the file "file x". I want to add several matches to it, like match1, match 2 ....
So it will delete 2 lines after finding any of the matches, how can I achieve this ?