摘要: #perl中使用sed system("sed -i 's/wait_process/wait \${a} \&\& wait \${b}/g' xxx.sh"); 这么写会出现错误,达不到sed预期的替换效果,即“\&”在sed中写的是"&"。perl发生一次转义、sed也需要一次转义; syst 阅读全文
posted @ 2023-01-03 16:51 YueQAQ 阅读(38) 评论(0) 推荐(0) 编辑