1. 程式人生 > >grep過濾特殊字符

grep過濾特殊字符

mil ssi 特殊字符 end grep過濾 div ext 字符串 lag

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}

grep過濾特殊字符