""Sayed, Irfan (Irfan)"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
..
Hi all,
I need to search a file for a specific string thru perl script.
for example i want to put following condition in the script.
--- > first search the string string1
> and if that string found then
Hi Irfan
[...]
> hi rob,
>
> Thanks for your mail.
>
> let me modify my request in more clear manner.
> basically I have one file. The format of that file is as follows.
>
> Replica name : some string
> master replica : some string
> hostname : some string
>
> replica name : some s
-Original Message-
From: Rob Dixon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 18, 2006 9:47 PM
To: beginners@perl.org
Subject: Re: search option in perl
Sayed, Irfan (Irfan) wrote:
>
>> -Original Message-
>> From: Rob Dixon [mailto:[EMAIL PROTECTED] &
Sayed, Irfan (Irfan) wrote:
>
>> -Original Message-
>> From: Rob Dixon [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, July 18, 2006 9:09 PM
>> To: beginners@perl.org
>> Subject: Re: search option in perl
>>
>> Sayed, Irfan (Irfan) wrote:
>&g
-
From: Rob Dixon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 18, 2006 9:09 PM
To: beginners@perl.org
Subject: Re: search option in perl
Sayed, Irfan (Irfan) wrote:
> Hi all,
>
> I need to search a file for a specific string thru perl script.
>
> for example i want t
Sayed, Irfan (Irfan) wrote:
Hi all,
I need to search a file for a specific string thru perl script.
for example i want to put following condition in the script.
--- > first search the string string1
> and if that string found then search for another string string2
> if both the s