首页 > 代码库 > Shell | grep with n following lines

Shell | grep with n following lines

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