2018-04-28|2018-04-28 ag better than grep
silversearcher-ag_0.19.2-1_amd64.deb
$ sudo apt-get install silversearcher-ag
【2018-04-28|2018-04-28 ag better than grep】ag + awk
$ ag "net->Forward" simple.log-0108-yolo-cb-log-ok | awk '{print $6}'
$ ag "net->Forward" simple.log-0108-yolo-cb-log-ok | awk '{print $6}' > test.log216295
145365
138829
143813
152775
132817同时打印多列
ag "Prepare Data" banchmark_time.log | awk '{print $2"\t"$6"\t\t"$9}' > prepareData.log10:00:28.297Prepare58.942
10:00:28.304Prepare7.792
10:00:28.379Prepare5.625
10:00:28.392Prepare5.956
10:00:28.402Prepare5.514
10:00:28.461Prepare7.299
10:00:28.475Prepare5.389
10:00:28.487Prepare5.391
推荐阅读
- thanks|thanks leslie
- Vue常用插件
- 在Mac里压缩成.rar遇到困难(对于BetterZip来讲是不存在的)
- ternary|Codeforces Round #320 (Div. 2) [Bayan Thanks-Round]
- 哎哟我去!betterzip居然支持这么多压缩格式!
- Consumer最后一个发送请求Handler——TransportClientHandler分析
- Look Closer to See Better Recurrent Attention Convolutional Neural Network for Fine-grained Image Re
- 论文研读|LEARNING GOAL-CONDITIONED VALUE FUNCTIONS WITH ONE-STEP PATH REWARDS RATHER THAN GOAL- REWARDS
- better|better scroll与flex联用在ios 10下无法滑动的问题
- Controlling|Controlling “Mine-Is-Better” Thinking 3