don't use perl (a shell execution) for delete_lines_matching. this might cause problems