Quote:
Originally Posted by Barry-xlovecam
I'll do it my way TY
Code:
zgrep -e '=' -ve 'l=|"-"' -e 'google' -c access.log.gz
2596428 <<<WTF
wc -l access.log.gz
214812 access.log.gz
zgrep -e '=' -ve 'l=|"-"' -e 'google' access.log.gz| wc -l
2596428
zcat access.log.gz|egrep '='| egrep -v 'l=|"-"'| grep 'google' |wc -l
2450
|
My bad. It seems that using -v negates all -e patterns and it doesn't matter about position.