Shell | grep with n following lines

时间:2014-11-26 18:01:41   收藏:0   阅读:177
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

 

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!