会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
YueQAQ
博客园
首页
新随笔
联系
订阅
管理
2023年1月3日
perl中转义符问题
摘要: #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
阅读(47)
评论(0)
推荐(0)
编辑
公告