Wrap long single-line comment messages.
[adns] / convert
diff --git a/convert b/convert
index 7541ff1..6c7278d 100755 (executable)
--- a/convert
+++ b/convert
@@ -92,6 +92,12 @@ cat >$tmp/msg-filter <<'FEND'
 perl -ne '
                $out .= $_;
        END {
+               if ($out !~ /\n.*\n/) {
+                       $out = `fmt <<'\''EOF'\''
+$out
+EOF
+`;
+               }
                if ($out =~ m/^\@\@/s &&
                    ($out =~ m/^\+(?!u?adns).*\w.*$/m ||
                     $out =~ m/^\-(?!u?adns).*\w.*$/m)) {