码迷,mamicode.com
首页 > 其他好文 > 详细

grep,awk和sed

时间:2014-08-22 15:51:09      阅读:224      评论:0      收藏:0      [点我收藏+]

标签:io   strong   for   ar   line   ad   on   res   c   

commons:
  all of them could use regular-expression to match the result.


differences:
  1)grep:
    search for files with patterns.
  2)awk:
    anylyst for ‘fields‘; add addition message.
  3)sed:
    focus on lines of a file,including ‘append,insert,delete‘,or even a range of lines.

grep,awk和sed

标签:io   strong   for   ar   line   ad   on   res   c   

原文地址:http://www.cnblogs.com/listened/p/3929349.html

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