]> sipb.mit.edu Git - ikiwiki.git/blobdiff - mdwn2man
some stylesheet improvements for the table, also add a bit more border
[ikiwiki.git] / mdwn2man
index 57c41c86590042f9f6a8a89a64ec569fd07348ba..8c70c87c157217f6dc108b092e7b21567a658265 100755 (executable)
--- a/mdwn2man
+++ b/mdwn2man
@@ -1,7 +1,10 @@
 #!/usr/bin/perl
 # Warning: hack
 
-print ".TH ikiwiki 1\n";
+my $prog=shift;
+my $section=shift;
+
+print ".TH $prog $section\n";
 
 while (<>) {
        s{(\\?)\[\[([^\s\]]+)\]\]}{$1 ? "[[$2]]" : $2}eg;