grep过滤特殊字符

grep -a "businessID\": 3" kafka.log|grep "componentID\": 18"
--需求:过滤下述log中的红色字符串
.............
null, "group2": null, "group3": null, "group4": null, "group5": null, "flag": null, "businessID": 1, "componentID": 4, "extendID": null}

 

posted @ 2017-11-21 10:41  ArcerZhang  阅读(5077)  评论(0编辑  收藏  举报