Linux之工具------sed

sed 概念:流编辑器。 在命令行基本格式: ①sed [options] ‘command’ file1 file2 ……. ②sed [options] -f scriptfile file1 file2 …… sed处理的文件,既可以由命令行输入,如①。也可以编写一个脚本文件,用-f指定脚本文件。如②。 command:编辑命令格式为/pattern/action 其中pattern是正则表
相关文章
相关标签/搜索