RE: Modifying text in a shell script from Perl

2004-03-08 Thread David le Blanc
> -Original Message- > From: WC -Sx- Jones [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 9 March 2004 6:58 AM > To: Rajesh Dorairajan > Cc: Perl-Beginners (E-mail) > Subject: Re: Modifying text in a shell script from Perl > > Rajesh Dorairajan wrote: >

Re: Modifying text in a shell script from Perl

2004-03-08 Thread John W. Krahn
Rajesh Dorairajan wrote: > > Hello All, Hello, > 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 multip

Re: Modifying text in a shell script from Perl

2004-03-08 Thread WC -Sx- Jones
Rajesh Dorairajan wrote: "cat copyright | more" Useless use of cat award. Wonder why didnt the author use more copyright or less copyright? 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 copyrigh

Modifying text in a shell script from Perl

2004-03-08 Thread Rajesh Dorairajan
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