trying to use sed in finding a matching pattern in a file then deleting
the next line only .. pattern --> <ad-content>
I tried this but it results are not what I wish
<Celebrant2First>Mickey</Celebrant2First>
<ad-content>
Minnie & Mickey Mouse <---- delete
Join Minnie and Mickey
<Celebrant1Last>Dog</Celebrant1Last>
<EventDate>12/26/2008</EventDate>
<ad-content>
Pluto the dog <---- delete
Join Pluto for his annual dog day
Output:
<Celebrant2First>Mickey</Celebrant2First>
<ad-content>
Join Minnie and Mickey
<Celebrant1Last>Dog</Celebrant1Last>
<EventDate>12/26/2008</EventDate>
<ad-content>
Join Pluto for his annual dog day