(Huge) changes in file

2006-12-25 Thread Mário Gamito
Hi, I have this file in the following format: tarta 16340309 marsanpin [EMAIL PROTECTED] lms doom123 Luis Miguel Sequeira [EMAIL PROTECTED] jura teste Juraci [EMAIL PROTECTED] jsilva t00lt0ya5 Jorge Silva [EMAIL PROTECTED] tchock mail#4829 tchock [EMAIL PROTECTED] reporterx noname Duarte

Re: (Huge) changes in file

2006-12-25 Thread Rob Dixon
Mário Gamito wrote: Hi, I have this file in the following format: tarta 16340309 marsanpin [EMAIL PROTECTED] lms doom123 Luis Miguel Sequeira [EMAIL PROTECTED] jura teste Juraci [EMAIL PROTECTED] jsilva t00lt0ya5 Jorge Silva [EMAIL PROTECTED] tchock mail#4829 tchock [EMAIL PROTECTED]

Regular Expression and file editing.

2006-12-25 Thread Goksie
I will be glad if someone can give me a guide. I have a file test.conf [$ip] name=goksie host=$ip directive=ask configdir=/usr/local/etc/ now to disable this account I just have to remove the change the value of the ip however, I have tried this code it does not help. #!perl use warnings; use

Re: Regular Expression and file editing.

2006-12-25 Thread Mumia W.
On 12/25/2006 11:51 AM, Goksie wrote: [...] If i run the script, the changes could not be effected bcos the files is a readonly file. I will be glad if someone can put me true goksie You probably want a mode of + to open the file read-write. perldoc -f open -- To unsubscribe, e-mail: