Ther perl script will create a new properties or profile given the new template and old file.
perl updateProperties.pl /wily/IntroscopeEM10.0.0.12/config/IntroscopeEnterpriseManager.properties /wily/IntroscopeEM9.7.0/config/IntroscopeEnterpriseManager.properties /wily/IntroscopeEM10.0.0.12/config/IntroscopeEnterpriseManager.properties
perl updateProperties.pl newTemplate.properties old.properties new.properties
It works with profiles and properties. I use it when I'm upgrading versions of the EM and agents.
The new file will have all the comments of the new properties/profile. If a property is new, it will be in the new file with the new value. If a property is in the old file, the property gets the old value. If a property is in the old but not in the new then it is put at the bottom of the new file.