I’ve a file with some text (8/9 lines) called abc.txt
I’m trying to replace a string called in pqr.xml with contents from above abc.txt file.
Can any one tell me how to do it?
I was trying with below command:
sed -i~ "s/ < /Server>/HERE HOW TO PASTE CONTENTS FROM abc.txt/g" pqr.xml
I am not sure about
sedbut withawkyou might get what you are trying to achieve.awk script:
File1:
File2:
Test: