码迷,mamicode.com
首页 > Windows程序 > 详细

Shell | grep with n following lines

时间:2014-11-26 18:01:41      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:style   blog   io   color   sp   on   div   log   bs   

grep -A 10 foo sample.txt

 

?  dex-method-counts git:(master) ./dex-method-counts ~/Downloads/n.apk | grep -A 10 hui
            hui: 304
                agent: 61
                complain: 7
                detail: 29
                list: 42
                pay: 151
                rules: 10
                util: 4
            loader: 307
                model: 60
            locationservice: 424

 

Shell | grep with n following lines

标签:style   blog   io   color   sp   on   div   log   bs   

原文地址:http://www.cnblogs.com/maozhige/p/4123408.html

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