Honored Contributor Honored Contributor
Re: Manage parameter-file
This looks like something for a shell script, so you would use "." command to assign your shell variables. Then to update the param file, write all the params back. Example-

par2=23
(
echo "par1=$par1"
echo "par2=$par2 #comment"
echo "par3=$par3"
) >yourparamfile

HTH

-- Rod Hills
There be dragons...