[GRASS-SVN] r52020 - grass/branches/develbranch_6/tools/g.html2man

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 9 23:02:16 PDT 2012


Author: hamish
Date: 2012-06-09 23:02:16 -0700 (Sat, 09 Jun 2012)
New Revision: 52020

Modified:
   grass/branches/develbranch_6/tools/g.html2man/g.html2man
Log:
quote the dash in man page whatis entry (http://lintian.debian.org/tags/manpage-has-bad-whatis-entry.html)

Modified: grass/branches/develbranch_6/tools/g.html2man/g.html2man
===================================================================
--- grass/branches/develbranch_6/tools/g.html2man/g.html2man	2012-06-10 05:04:16 UTC (rev 52019)
+++ grass/branches/develbranch_6/tools/g.html2man/g.html2man	2012-06-10 06:02:16 UTC (rev 52020)
@@ -281,7 +281,7 @@
 while (<INP>) {
   # for intro pages which lack a module NAME (for whois entry)
   if ($_ =~ s/<!-- meta page description:(.*)-->/$1/) {
-	print OUT ".SH NAME\n$page -$_\n";
+	print OUT ".SH NAME\n$page \\-$_\n";
   }
 
   s/\\/\\(rs/g;



More information about the grass-commit mailing list