sed

sed一、将 Makefile 中的字符串 abc 替换成 efg二、在 vim 中,对指定行数范围,采用 sed 替换

一、将 Makefile 中的字符串 abc 替换成 efg

对当前目录所有 .c 文件进行字符串替换

二、在 vim 中,对指定行数范围,采用 sed 替换