Page is a not externally linkable
- Google
-- Google AdSense
---- Ah ha! THIS is why my AdSense revenue decreased by 90%!


Sharper - 3:29 pm on Nov 26, 2003 (gmt 0)


Minor improvement:

cat <log-file> ¦ grep "GET <alternate-ad-file>" ¦ grep <date> ¦ wc -l

becomes

grep "GET <alternate-ad-file>" <log-file> ¦ grep -c <date>

or if you have more alt lines than dates,

grep <date> <log-file> ¦ grep -c "GET <alternate-ad-file>"

Probably slightly off-topic and not important, but hey, I at least thought grep -c was cool when I first noticed it. :)

I'm sure there's probably a regexp way to do it in one grep, but I'm not THAT much of a glutton for punishment...


Thread source:: http://www.webmasterworld.com/google_adsense/1132.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com