abhi's logbook

Adventures in coding and coding for adventures.

sed - Remove a line with a pattern

This is using the GNU version of sed. It replaces inplace anything
with payment_statement and the line after it.

gsed -i -e "/payment_statement/,+1 d" *