projects
/
m17n
/
m17n-docs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
96586c1
)
*** empty log message ***
author
nisikimi
<nisikimi>
Tue, 8 Jul 2003 05:06:48 +0000
(
05:06
+0000)
committer
nisikimi
<nisikimi>
Tue, 8 Jul 2003 05:06:48 +0000
(
05:06
+0000)
utils/mkman.rb
patch
|
blob
|
history
diff --git
a/utils/mkman.rb
b/utils/mkman.rb
index
a6567a1
..
cb9cad3
100644
(file)
--- a/
utils/mkman.rb
+++ b/
utils/mkman.rb
@@
-259,15
+259,13
@@
def desrewrite(text)
#headers
if line =~ /Return\svalue:/
#headers
if line =~ /Return\svalue:/
- line = "\n.SH RETURNS\n.PP"
returndescribed = true
end
returndescribed = true
end
-# line.gsub!(/^\\fBReturn value:\\fP/,"\n.SH RETURNS\n.PP")
+ line.gsub!(/^\\fBReturn value:\\fP/,"\n.SH RETURNS\n.PP")
if line =~ /Errors:/
if line =~ /Errors:/
- line = "\n.SH ERRORS\n.PP"
errordescribed = true
end
errordescribed = true
end
-# line.gsub!(/^\\fBErrors:\\fP/,"\n.SH ERRORS\n.PP")
+ line.gsub!(/^\\fBErrors:\\fP/,"\n.SH ERRORS\n.PP")
line.gsub!(/^\\fBSee Also:\\fP/,"\n.SH \"SEE ALSO\"\n.PP")
line.gsub!(/^\\fB(.+)\\fP/){"\n.SS " << $1}
line.gsub!(/^\\fBSee Also:\\fP/,"\n.SH \"SEE ALSO\"\n.PP")
line.gsub!(/^\\fB(.+)\\fP/){"\n.SS " << $1}