From 48bc059fbf10c062dfdee3014cef46102f922d72 Mon Sep 17 00:00:00 2001 From: nisikimi Date: Wed, 1 Oct 2003 06:29:38 +0000 Subject: [PATCH] *** empty log message *** --- utils/mkman.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/mkman.rb b/utils/mkman.rb index 55d6eff..018346c 100644 --- a/utils/mkman.rb +++ b/utils/mkman.rb @@ -198,7 +198,7 @@ def documentfunc2 (dstart, title, func_text, short_text) def frewrite(text) # let the library name appear in the header - buf = [text[0].gsub!("\" \"", "\" \"\" \"")] + buf = [text[0].gsub!(/\" \"/, "\" \"\" \"")] title = text[0].split(" ")[1].chop!.reverse.chop!.reverse @@ -251,10 +251,10 @@ def desrewrite(text) text.each_with_index{|line,i| ### TEST 6/24 - line.gsub!(".RS 4","") + line.gsub!(/^\.RS 4/,"") ### letting verbatim end in place - line.gsub!(/^.nf/,".NF") + line.gsub!(/^\.nf/,".NF") #removing "More..." hyperlink line.gsub!(/More.../,"") @@ -349,7 +349,7 @@ def orewrite(text) # let the library name appear in the header if line =~ /^.TH/ - line = line.gsub!("\" \"", "\" \"\" \"") + line = line.gsub!(/\" \"/, "\" \"\" \"") end # finding structure documentations and merging into "structures" @@ -375,7 +375,7 @@ def orewrite(text) #removing author section line.gsub!(/^\.SH\s\"AUTHOR\"/,"") - line.gsub!("Generated automatically by Doxygen for m17n_test from the source code.","") + line.gsub!(/Generated automatically by Doxygen for m17n_test from the source code\./,"") line.gsub!(/\\fP\s+,/,"\\fP,") line.gsub!(/\\fP\s+\./,"\\fP.") -- 1.7.10.4