[ <command>maintain-ixfr-base</command> <replaceable>yes_or_no</replaceable> ; ]
[ <command>ixfr-from-differences</command> ( <replaceable>yes_or_no</replaceable> | <option>master</option> | <option>slave</option> ) ; ]
[ <command>auto-dnssec</command> ( <option>allow</option> | <option>maintain</option> | <option>off</option> ) ; ]
+ [ <command>inline-signing</command> <replaceable>yes_or_no</replaceable> ; ]
[ <command>dnssec-enable</command> <replaceable>yes_or_no</replaceable> ; ]
[ <command>dnssec-validation</command> ( <replaceable>yes_or_no</replaceable> | <option>auto</option> ) ; ]
[ <command>dnssec-lookaside</command> ( <option>auto</option> | <option>no</option> | <replaceable>domain</replaceable> trust-anchor <replaceable>domain</replaceable> ) ; ]
...
<command>}</command> ; ]
[ <command>v6-bias</command> <replaceable>number</replaceable> ; ]
+ [ <command>trust-anchor-telemetry</command> <replaceable>yes_or_no</replaceable> ; ]
<command>}</command> ; ]
</programlisting>
my $DATE;
if (@ARGV >= 2) {
- $DATE = shift
+ $DATE = shift
} else {
- $DATE = `git log --max-count=1 --date=short --format='%cd' $FILE` or die "unable to determine last modification date of '$FILE'; specify on command line\nexiting";
+ $DATE = `git log --max-count=1 --date=short --format='%cd' $FILE` or die "unable to determine last modification date of '$FILE'; specify on command line\nexiting";
}
chomp $DATE;
}
}
+my $blank = 0;
while (<FH>) {
- if (m{// not.*implemented} || m{// obsolete}) {
- next;
- }
+ if (m{// not.*implemented} || m{// obsolete} || m{// test.*only}) {
+ next;
+ }
+
s{ // not configured}{};
s{ // may occur multiple times}{};
s{<([a-z0-9_-]+)>}{<replaceable>$1</replaceable>}g;
- s{[[]}{<optional>}g;
- s{[]]}{</optional>}g;
+ s{[[]}{[}g;
+ s{[]]}{]}g;
s{ }{\t}g;
if (m{^([a-z0-9-]+) }) {
my $HEADING = uc $1;
<literallayout class="normal">
END
}
- if (m{^\s*$}) {
+
+ if (m{^\s*$} && !$blank) {
+ $blank = 1;
print <<END;
</literallayout>
</refsection>
END
+ } else {
+ $blank = 0;
}
print;
}