From 0a0f8d6a14946c8f55da81b4f310aba9acc850fb Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 5 Jan 2011 00:51:25 +0000 Subject: [PATCH] (orewrite): Fix group title. --- utils/mkman.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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\"/,"") -- 1.7.10.4