Displaying 1 result from an estimated 1 matches for "replace_command".
1997 Sep 01
1
R-alpha: old Rdoc 2 new Rdoc
...$text = mark_parents($complete_text);
print stderr "done\n" if $opt_debug;
print stderr "Searching logical blocks ... " if $opt_debug;
$text =~ /TITLE($ID)/;
$id = $1;
@args = get_two_args($id);
$text =~ s/TITLE$id(.*)$id/\\title\{$args[0]\}\{$args[1]\}/s;
$title = $args[0];
replace_command("USAGE", "usage");
replace_command("ARGUMENTS", "arguments");
replace_command("DESCRIPTION", "description");
if(($text =~ /VALUE$ID/) && ($text =~ /VALUES$ID/)){
print stderr "Warning: Both VALUE and VALUES environment fo...