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:
dcb8d6c
)
(orewrite): Fix group title.
author
handa
<handa>
Wed, 5 Jan 2011 00:51:25 +0000
(
00:51
+0000)
committer
handa
<handa>
Wed, 5 Jan 2011 00:51:25 +0000
(
00:51
+0000)
utils/mkman.rb
patch
|
blob
|
history
diff --git
a/utils/mkman.rb
b/utils/mkman.rb
index
1ae1fa9
..
bad8862
100644
(file)
--- a/
utils/mkman.rb
+++ b/
utils/mkman.rb
@@
-466,8
+466,8
@@
def orewrite(text)
# to:
# .SH NAME
# M-text \- M-text objects and API for them.
- prevline = buf.pop
- text[i+1] = prevline.chop!.concat(text[i+1])
+ prevline = buf.pop.chop!.chop!.chop!.chop!.chop!.gsub(" ","_").concat(" \\- ")
+ text[i+1] = prevline.concat(text[i+1])
else
#removing author section
line.gsub!(/^\.SH\s\"AUTHOR\"/,"")