I want to replace string values from a file to a file
For eg : File1 has 30 lines of string with values, those specific values needs to be changed in file2 and remaining values in file2 should be as it is.
For example:
From file (File1)
cluster.name=secondaryCluster
To replace File (File2)
cluster.name=CoreSetupCluster
(in the above CoreSetupCluster in file2 should be changed to secondaryCluster as in file1
No , ,, Let me be more clear and explain you... file1 contains 10 entries , all entries are seperated with = sign, file2 contains 100 entries... all i want is if any lines starting before = sign matches file1 in file2 , then replace that particular line in file2 with file1 values ... hope i am more clear this time...