svn commit: r197747 - head/release/doc/share/misc

Simon L. Nielsen simon at FreeBSD.org
Sun Oct 4 16:30:34 UTC 2009


Author: simon
Date: Sun Oct  4 16:30:33 2009
New Revision: 197747
URL: http://svn.freebsd.org/changeset/base/197747

Log:
  In lists, if there is a Li command remove it.  This fixes markup for
  uath(4).
  
  MFC after:	3 days
  Reported by:	Warren Block <wblock at wonkity.com>

Modified:
  head/release/doc/share/misc/man2hwnotes.pl

Modified: head/release/doc/share/misc/man2hwnotes.pl
==============================================================================
--- head/release/doc/share/misc/man2hwnotes.pl	Sun Oct  4 13:03:07 2009	(r197746)
+++ head/release/doc/share/misc/man2hwnotes.pl	Sun Oct  4 16:30:33 2009	(r197747)
@@ -252,6 +252,10 @@ sub parse {
 		    $txt =~ s/ Ta /\t/g;
 		    $txt =~ s/([^\t]+)\t.*/$1/;
 		}
+
+		# Remove Li commands
+		$txt =~ s/^Li //g;
+
 		parabuf_addline(\%mdocvars, normalize($txt));
 	    } elsif (/^Bl/) {
 		$mdocvars{isin_list} = 1;


More information about the svn-src-all mailing list