sed 的全称是stream editor.因此该命令是专门用于处理文本流的功能很是全面的工具, 工具
字符替换: string
sed 's/old_string/new_string/g' <source_file >new_file it
s 的意思是substitute 替换 该命令的意思是将source_file中的old_string 所有替换为new_string,而且输入到新的文件new_file中去;source_file是输入文件流,new_file 是输出文件流; stream
其余功能待续。。。。。 sed