Acclaimed Contributor Acclaimed Contributor
Re: Manage parameter-file
Hi Oviwan:

Yes, you can update your file's parameters in place with perl:

# perl -i.old -ple 's/par2=.+\b/par2=newvalue/' parmsfile

...would make a backup copy "parmsfile.old" and update inplace the value of 'par2' changing it from whatever follows the "=" character to "newvalue".

Regards!

...JRF...