More efficient sed deletion of old lines.