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 substitute the password of section [jwg].

i can't use the nth instance substitute as the instances may change

Thanks

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to