Sam Harris wrote:
>
> I am having hard time figuring out why one of my lines is not working:
>
> system"find . -ctime -1 -exec cp {}
> /opt/WWW/web_stats/logs/daily/newfiles \";
>
> the error is that :
> Unquoted string "opt" may clash with future reserved word at
> ./process_web_log_files.pl li
The way how it is in my code is on one line, the slash at the end has to
be there on unix command line for it to work !!???
so the line is :
system"find . -ctime -1 -exec cp {}
/opt/WWW/web_stats/logs/daily/newfiles \";
Sam Harris,
Internet Services
Franklin University
201 S. Grant Avenue
Colum
n the command string, so
that the overall string isn't terminated.
Cheers,
Rob
- Original Message -
From: "Sam Harris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 12, 2002 10:11 AM
Subject: error with external command
> I am having
Sam Harris wrote:
I am having hard time figuring out why one of my lines is not working:
system"find . -ctime -1 -exec cp {}
/opt/WWW/web_stats/logs/daily/newfiles \";
try
system("find .-ctime -1-exec cp{} /opt/WWW/web_stats/logs/daily/newfiles ");
on a single line and do not escape the la
I am having hard time figuring out why one of my lines is not working:
system"find . -ctime -1 -exec cp {}
/opt/WWW/web_stats/logs/daily/newfiles \";
the error is that :
Unquoted string "opt" may clash with future reserved word at
./process_web_log_files.pl line 25.
thanks for your help in advan