diff options
Diffstat (limited to 'Build/mdwn2man')
-rwxr-xr-x | Build/mdwn2man | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/mdwn2man b/Build/mdwn2man index ba5919b38..aadb13cdf 100755 --- a/Build/mdwn2man +++ b/Build/mdwn2man @@ -8,6 +8,7 @@ print ".TH $prog $section\n"; while (<>) { s{(\\?)\[\[([^\s\|\]]+)(\|[^\s\]]+)?\]\]}{$1 ? "[[$2]]" : $2}eg; + s/\`([^\`]*)\`/\\fB$1\\fP/g; s/\`//g; s/^\s*\./\\&./g; if (/^#\s/) { @@ -25,7 +26,7 @@ while (<>) { $inlist=1; $spippara=0; } - elsif (/.SH/) { + elsif (/^.SH/) { $skippara=0; $inlist=0; } |