会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
将学习变成乐趣,一直在路上
每天1990
导航
博客园
首页
新随笔
联系
管理
公告
2016年9月25日
mac上执行sed的编辑 -i命令报错sed: 1: "test.txt": undefined label ‘est.txt’或sed: 1: "2a\test\": extra characters after \ at the end of a command
摘要: 问题一 sed编辑命令:【sed -i 's/a/b/g' test.txt】 报错:sed: 1: "test.txt": undefined label 'est.txt' 解决方案:增加一个备份的追加名【sed -i '.bak' 's/a/b/g' test.txt】 原因:mac强制要求备
阅读全文
posted @ 2016-09-25 23:27 每天1990
阅读(13175)
评论(0)
推荐(0)
编辑