Just twiddle the case of one letter in the signature.
if (!doneoldsig) { system("cat t.oldsig"); doneoldsig = 1; } \
next; \
} \
if (!doneoldsig) { system("cat t.oldsig"); doneoldsig = 1; } \
next; \
} \
- { gsub(/invalid-rrsigx/, "invalid-rrsig"); print; }' \
+ $(BADSIGMATCH) { \
+ s = $$13; \
+ for (i = length(s)/2; i >= 0; i--) { \
+ c = substr(s, i, 1); \
+ if (c != tolower(c)) { c = tolower(c); break; } \
+ else if (c != toupper(c)) { c = toupper(c); break; } \
+ } \
+ $$13 = substr(s, 0, i) c substr(s, i + 1); \
+ } \
+ { print; }' \
dnserr.zone.signew >$@.new
rm t.oldsig
mv $@.new $@
dnserr.zone.signew >$@.new
rm t.oldsig
mv $@.new $@