1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 649
/ 1 Year ago, mon, march 13, 2023, 5:11:24
I have one word in one of my files and I want to substitute that word with xml file contents. considering that xml file contains some symbols which sed isn't able to process the command I am using isn't working. how can I fix this?
sed -i "s/test/$(cat header)/g" test.xml
More From » command-line