Kiran Kumar M wrote:
> Hi,
>
> It might be a bit out topic, but I hope experts in cgi and perl will give
> me some solution..
>
> I have the following script that execute at command prompt and working
> fine ..
>
> perl -pi -e 's/^(user)(\s+.*)(old)(.*)$/${1}${2}new${4}/' filename
>
> For replac
Hi,
It might be a bit out topic, but I hope experts in cgi and perl will give
me some solution..
I have the following script that execute at command prompt and working
fine ..
perl -pi -e 's/^(user)(\s+.*)(old)(.*)$/${1}${2}new${4}/' filename
For replacing the old item with the new item bas