RE: convert winword ...

2005-10-21 Thread Charles K. Clarkson
[EMAIL PROTECTED] <> wrote: : #!/usr/bin/perl : require RTF::TEXT::Converter; : my $inputfile="document.rtf"; : my $outputfile="document.txt"; : : open(IN,"<$inputfile") or die; : open(OUT,">$outputfile") or die; : my $self = new RTF::TEXT::Converter(Output => \*OUT); : foreach my $inputfile (@ARG

re: convert winword ...

2005-10-21 Thread assistent
hen coping with the rtf thing, I encountered a problem. I used the script that comes in the module, but as I didn't understand I modified it to: #!/usr/bin/perl require RTF::TEXT::Converter; my $inputfile="document.rtf"; my $outputfile="document.txt"; open(IN,"<$inputfile") or die; open(OUT,">$ou

Re: convert winword .doc to .txt, or .rtf to .txt

2005-10-20 Thread Alejandro Santillan Iturres
ript? - Original Message - From: "Richard Morse" <[EMAIL PROTECTED]> To: "Alejandro Santillan Iturres" <[EMAIL PROTECTED]> Cc: Sent: Friday, October 14, 2005 6:00 PM Subject: Re: convert winword .doc to .txt, or .rtf to .txt For RTF, search.cpan.o

Re: convert winword .doc to .txt, or .rtf to .txt

2005-10-14 Thread Johan Lindstr
At 22:25 2005-10-14, Alejandro Santillan Iturres wrote: Any idea what to do to convert .doc to .txt ? Maybe some reg exp will do the work? (also .rtf to .txt is desirable). Antiword http://www.winfield.demon.nl/ /J ___ Perl-Win32-Users mailing list

Re: convert winword .doc to .txt, or .rtf to .txt

2005-10-14 Thread Richard Morse
For RTF, search.cpan.org search for RTF returns RTF::TEXT::Converter. Re .doc files, if nothing else there are programs such as antiword which you could use to get the text. HTH, Ricky On Oct 14, 2005, at 4:25 PM, Alejandro Santillan Iturres wrote: I need to manipulate a file in windows word