我使用SED的一个文件来替换桑达有在正则表达式
proxy: ''
与
proxy: 'https://link.com:8099'
有困难
我有以下命令(见下文),但它给我
proxy: https://link.com:8099''
在url后面加上两个引号。
sed '[email protected]: ''@proxy: 'http://link.com:8099'@'<test.txt > test1.txt
任何帮助表示赞赏。
注意:我在RHEL中执行此操作,需要在厨师中执行此操作。
我们的区别是几秒钟! :) –