sed/d (246 bytes)
1 # Delete matching lines with D (keeps the newline) or d 2 # the line's contents -- but not the newline at the end -- will be deleted with 3 # same as sed 's/^pattern.*//' 4 sed '/^<++>/D' 5 # Compare with 6 sed '/^<++>/d' 7 # which also deletes the newline