RE: [Perl-unix-users] Multiple Pattern Match

2002-03-06 Thread Subramoniam Rajan
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 3:01 PM To: [EMAIL PROTECTED] Subject: RE: [Perl-unix-users] Multiple Pattern Match If I understand you correctly...Here is a script I threw together... I just cut and pasted your file contents into a file named "da

[Perl-unix-users] Multiple Pattern Match

2002-03-06 Thread Subramoniam Rajan
Hi all I'm trying to parse a text file match a pattern and if it does pick up the line after and make changes to it if a file has matter such as [abc] username = sssh password = ghsgas [def] username = ghshgs password = hsjhsa [jwg] username = shjsjhsa password = jhsjhs I need to , say substi