zl程序教程

您现在的位置是:首页 >  其它

当前栏目

grep过滤特殊字符

过滤 grep 特殊字符
2023-09-14 09:01:14 时间
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}