Namazu-users-en(old)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: always 0 files founds



In article <20000925212520.A4108@xxxxxxxxxxxxxx>
maximo@xxxxxxxxxxxxxx writes:

>> Hmm .. it says so in the manual:
>> 
>>    msword.pl
>>           Handle a Word file.
>>           Requirement: wvWare, lv
>>           Alternate command: doccat

Oops. It is the literal translation from Japanese document. I have to
fix it.

>> Great!! I will sent them to your personal mailbox, thanks.

I got it, and tried to convert with wvWare 0.6.0.

According to filter/msword.pl:

>         system("$wordconvpath $tmpfile > $tmpfile2");

So I typed the following:

$ wvHtml Buzon-05-13-2000.doc > output
$ cat output
Usage: /usr/local/bin/wvHtml <word document> <html output file>
$

.. I didn't notice that the specification has been changed.

I made the patch for filter/msword.pl. Such change would be applied to
the next version.
-- 
NOKUBI Takatsugu
E-mail: knok@xxxxxxxxxxxxx
	knok@xxxxxxxxxx

*** msword.pl   Tue Sep 26 19:18:51 2000
--- msword.pl.old       Tue Sep 26 19:18:18 2000
***************
*** 109,115 ****
      }
  
      if (!util::islang("ja")) {
!       system("$wordconvpath $tmpfile $tmpfile2");
      } else {
        my $version = "unknown";
        my $supported = undef;
--- 109,115 ----
      }
  
      if (!util::islang("ja")) {
!       system("$wordconvpath $tmpfile > $tmpfile2");
      } else {
        my $version = "unknown";
        my $supported = undef;