themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to delete multiple lines from one with a match to the first blank line

sed -i '/match/,/^$/d' filename