Notes Homepage Notes How to delete multiple lines from one with a match to the first blank line sed -i '/match/,/^$/d' filename