sed find and replace with curly braces

后端 未结 2 626
野趣味
野趣味 2020-12-30 22:59

I am trying to use this command:

sed -i \'s#\\{test1\\}#test2#\' /example/myfile.txt

To replace instances of {test1} with

2条回答
提交回复
热议问题