会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
forilen
博客园
首页
新随笔
联系
管理
2015年4月2日
sed替换
摘要: 1. sed可以替换给定的文本中的字符串,可以利用正则表达式进行匹配$ sed 's/pattern/replace_string/' file或者$ cat file | sed 's/pattern/replace_string/' file使用-i选项,可以将替换的结果应用于原文件,也可以借助...
阅读全文
posted @ 2015-04-02 17:48 forilen
阅读(1549)
评论(0)
推荐(0)