hello all
just trying to write a script that will read a file (line by line) and substitute (tht line) in a different file if (tht line) is present in second file
Ex: script has to read file A (line by line) and if file B has tht line it should get substituted with the line in file A
file A:
length=30
threads=40
file B:
threads=20
The script has to read file A (line by line) and has to substitute file B in this case threads=20 with threads=40. Please let me know if guys have any ideas.