我有非常大的日志文件。看起来像这样:
xx.xx.xx site.com - [SomeDate] "GET somePath" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) someElseInfo ...
xx.xx.xx site.com - [SomeDate] "GET somePath" "Mozilla/5.0 (Windows NT 5.1; MSIE 8.0) someElseInfo ...
xx.xx.xx site.com - [SomeDate] "GET somePath" "Mozilla/5.0 (Windows NT 5.2; WOW64; MSIE 7.0 rv:11.0) someElseInfo ...
我需要查看有多少行包含' / windows nt 5.1 / i'和' / msie 8./i' 如何在崇高中做到这一点?
答案 0 :(得分:1)