码迷,mamicode.com
首页 > 系统相关 > 详细

linux 三大利器 grep sed awk sed

时间:2018-03-23 15:22:23      阅读:253      评论:0      收藏:0      [点我收藏+]

标签:编辑   内容   man   作文件   文件   file   round   img   改变   

 

 sed主要内容和原理介绍

sed 流处理编辑器

技术分享图片

 

 

  • sed一次处理一行内容,读入一行处理一行
  • sed不改变文件内容(除非重定向)

 

sed 

  • 命令行格式

    sed [options] ‘command‘ file(s) (option:参数 ,command 操作命令 ,file操作文件命令)

  • 脚本格式

    sed -f scriptfile file(s)

 

linux 三大利器 grep sed awk sed

标签:编辑   内容   man   作文件   文件   file   round   img   改变   

原文地址:https://www.cnblogs.com/lukechenblogs/p/8630169.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!