How to replace to apostrophe ' inside a file using SED

后端 未结 4 1433
没有蜡笔的小新
没有蜡笔的小新 2020-12-15 21:46

I have a file \"test.txt\" that contain the following

+foo+
+bar+

What I want to do is to replace them into:

\'foo\'
\'bar\         


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