Here is a second attempt to send the path for doc2html.pl.

The error is that the line

  $cmdl = "$cmd '$Input' | $ED 's#^<TITLE>$Input</TITLE>#<TITLE>[$Name]</TITLE>#";

should read:

  $cmdl = "$cmd '$Input' | $ED 's#^<TITLE>$Input</TITLE>#<TITLE>[$Name]</TITLE>#'";

And the patch is:

*** doc2html.pl.err     Thu Jun  8 11:41:16 2000
--- doc2html.pl Tue May 30 14:21:25 2000
***************
*** 136,142 ****
    if ((defined $RTF2HTML) and (length $RTF2HTML)) {
      $cmd = $RTF2HTML;
      # Rtf2html uses filename as title, change this:
!     $cmdl = "$cmd '$Input' | $ED 's#^<TITLE>$Input</TITLE>#<TITLE>[$Name]</TITLE>#";
      $magic = '^{\134rtf';
      &store_html_method('RTF',$cmd,$cmdl,$magic);
    }
--- 136,142 ----
    if ((defined $RTF2HTML) and (length $RTF2HTML)) {
      $cmd = $RTF2HTML;
      # Rtf2html uses filename as title, change this:
!     $cmdl = "$cmd '$Input' | $ED 's#^<TITLE>$Input</TITLE>#<TITLE>[$Name]</TITLE>#'";
      $magic = '^{\134rtf';
      &store_html_method('RTF',$cmd,$cmdl,$magic);
    }


-- 
 
David J Adams
<[EMAIL PROTECTED]>
Computing Services
University of Southampton

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.

Reply via email to