From: handa Date: Wed, 5 Jan 2011 00:51:25 +0000 (+0000) Subject: (orewrite): Fix group title. X-Git-Tag: REL-1-6-2~10 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a0f8d6a14946c8f55da81b4f310aba9acc850fb;p=m17n%2Fm17n-docs.git (orewrite): Fix group title. --- diff --git a/utils/mkman.rb b/utils/mkman.rb index 1ae1fa9..bad8862 100644 --- 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\"/,"")