projects
/
ikiwiki
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Respond with updated goto branch
[ikiwiki]
/
mdwn2man
diff --git
a/mdwn2man
b/mdwn2man
index
420cd4e
..
e4ba5aa
100755
(executable)
--- a/
mdwn2man
+++ b/
mdwn2man
@@
-9,7
+9,7
@@
print ".TH $prog $section\n";
while (<>) {
s{(\\?)\[\[([^\s\|\]]+)(\|[^\s\]]+)?\]\]}{$1 ? "[[$2]]" : $2}eg;
s/\`//g;
- s/^\./\\./g;
+ s/^\./\\
&
./g;
if (/^#\s/) {
s/^#\s/.SH /;
<>; # blank;