summaryrefslogtreecommitdiff
path: root/mdwn2man
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-05 20:48:20 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-05 20:48:20 +0000
commitdd7a38147179a59bff9dffd824b265862aa1a59e (patch)
treed3ac7e6d47a83a76a90c74a89ba3009a105a8492 /mdwn2man
parent626751068b6d002183046f3e3e76eb3b9040fa6b (diff)
* Add ikiwiki-mass-rebuild script, ripped out of the postinst.
* Add some new config items to the estseek.conf template, which are needed by hyperestraier 1.2.3.
Diffstat (limited to 'mdwn2man')
-rwxr-xr-xmdwn2man5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdwn2man b/mdwn2man
index 57c41c865..8c70c87c1 100755
--- 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;