-* mdoc2texi fixes: parseQuote, closing of list item tables.
+* mdoc2texi fixes: parseQuote, closing of list item tables, trailing
+ punctuation.
* ntp-wait, ntpd, ntpdc, ntpq, ntpsnmpd autogen documentation updates.
(4.2.7p338) 2012/12/25 Released by Harlan Stenn <stenn@ntp.org>
* mdoc2texi fixes: Handle_ArCmFlIc, Handle_Fn, HandleQ.
use strict;
+print STDERR "XXX: In the local mdoc2texi\n"; # XXX
+
my ($optlist,$oldoptlist);
my ($literal);
my ($line);
print '@emph{';
do {
print shift @words;
- } while (@words > 0 || $words[0] =~ /^[[:punct:]]$/);
+ } while (@words > 0 && $words[0] !~ /^[[:punct:]]$/);
print "}";
- print join('', @words) if (@words > 0);
+ while ($_ = shift @words)
+ {
+ print;
+ }
print "\n";
}
print "$lq";
while (@words > 0 && $words[0] !~ /^[[:punct:]]$/) {
- # print STDERR "Handle_Q: <$words[0]>\n"; # XXX
+ print STDERR "Handle_Q: <$words[0]>\n"; # XXX
print " " if ($wc);
print shift @words;
++$wc;
}
print "$rq";
- print join('', @words) if (@words > 0);
+ while ($_ = shift @words)
+ {
+ print;
+ }
print "\n";
}
}
print '@sc{',"$ux_name","}";
- print join('', @words) if (@words > 0);
+ while ($_ = shift @words)
+ {
+ print;
+ }
print "\n";
}