Hello All,

I am using Perl to launch installer written in Shell script on Solaris. I am
supplying the arguments for all the prompts made by the installer from Perl,
such as path, port number etc., The installer displays a copyright page that
has multiple pages when it is launched and then prompts the user to accept
or decline the license agreement. I am trying to modify the script such that
all the pages are displayed at once instead of displaying one page at a
time. The shell command in the script is:

"cat copyright | more"

I am trying to edit the script and modify it as:

"cat copyright"

I am trying the following command from perl:

system("perl -p -i.bak -e \"s/cat copyright | more/cat copyright/\"
install.sh");

However, when I run this command from Perl, It reports that I am not owner
of the file (install.sh) and when I do a "ls" from the shell, the install.sh
file has disappeared!!!!

Can someone shed light on where I am goofing up? FYI, the directory where
the scripts (installer and perl script) are being run is mounted on a NFS
volume under /usr/local. I am logged in as root on my local machine.

Thanks in Advance,

Rajesh Dorairajan 
Valicert/Tumbleweed Communications. 
[EMAIL PROTECTED] 
650-216-2018 
http://www.tumbleweed.com

Reply via email to