Find and replace value using a key from other file

view full story

http://www.unix.com – Dear Friends, I am looking for a way how to find and replace a value in two files using a reference a file where are the key to replace. Basically, I want to keep a copy of the original file and make a new one in order to compare at the end that the change was done whitout change the rest of file..:) All files are in the same folder. Then the files are like this file name = sw1135g.sps S 2657.00 7305.00 2V1 0.0 0 0.0 420124.9 2571324.9 153.7297152126 S 2657.00 7285.00 2V1 0.0 0 0.0 419125.0 2571325.2 154.6297152202 file name = sw1135g.xps X 5822 241L (HowTos)