From 95360dba667df074a6d5ca632fb4ec4ec551e40d Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 30 Apr 2014 00:13:28 +0100 Subject: [PATCH] Avoid printing removed lines unless necessary; avoid version headers. --- convert | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/convert b/convert index eb1ca3c..7541ff1 100755 --- a/convert +++ b/convert @@ -93,7 +93,8 @@ perl -ne ' $out .= $_; END { if ($out =~ m/^\@\@/s && - $out =~ m/^(?:\+ )?[^\@ ].*\w.*$/m) { + ($out =~ m/^\+(?!u?adns).*\w.*$/m || + $out =~ m/^\-(?!u?adns).*\w.*$/m)) { print $&, "\n\n" or die $!; } print $out or die $!; -- 2.30.2