linux sed 命令,sed -i

 

 

 

-i 参数 :直接在原文件上进行操作
整条语句意思是将b.c文件里第一个匹配printa替换为printb
posted @ 2016-05-30 16:45  瘋耔  阅读(718)  评论(0编辑  收藏  举报
跳至侧栏