Is there any way to replace text that appears several times in a .txt file with a unique value each time? To be more specific:
This is the given document:
value="something"
other text lines
value="something"
other text lines
...
This is a text file from which I want to take the values:
car
cat
...
What I want is to automatically replace "something" with a different value each time taken from the other text file, so the given document will turn into this:
value="car"
other text lines
value="cat"
other text lines
...