|
|
|
|
|
by wglb
2639 days ago
|
|
grep (BSD grep) 2.5.1-FreeBSD The other commenter in this thread pointed out that this is a very old version and the newer bsd version is better. real 0m2.044s
user 0m1.932s
sys 0m0.085s
wgl@pondera:~$ time grep LiteonTe *.text | wc -l
11020
real 0m1.939s
user 0m1.905s
sys 0m0.038s
wgl@pondera:~$ time ggrep LiteonTe *.text | wc -l
11020
real 0m0.130s
user 0m0.087s
sys 0m0.037s
wgl@pondera:~$ time ggrep LiteonTe *.text | wc -l
11020
real 0m0.119s
user 0m0.088s
sys 0m0.035s
wgl@pondera:~$ du -h -s *.text
128M Kismetkismet-kali-pondera-20190325-08-46-27-1.pcapdump.text
First one was done to cache then the number discarded. Thus the 'grep' you see above is the second run over the 128 mb pcap file expanded with tshark.Dramatic. I'll stay with the gnu grep and not update the regular ones for now. |
|