Skip to main content.
home | support | download

Back to List Archive

Re: R: Indexing pdf files - Problem with spaces in names

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Jan 30 2003 - 18:03:51 GMT
On Thu, 30 Jan 2003, Alan  Tigri wrote:

> 83:	open F, "pdftotext \"$file\" - |" or die "$0: failed to run
> pdftotext: $!";

Since you are running on Linux how about using single quotes instead of
double quotes?  Seems like that would be better a hiding the names from
the shell.

An even better way would be to fork and exec and avoid the shell
completely.


-- 
Bill Moseley moseley@hank.org
Received on Thu Jan 30 18:04:29 2003