Forum Moderators: open

Message Too Old, No Replies

ua: ht

         

carfac

4:31 pm on Oct 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi:

I have been noticing a ua of "ht" a lot recently in my webalizer results a lot.

Unfortunately, it is a bit hard to track down in the actual logs, as when I "grep ht /path/to/daves/logs", well, you can imagine how many results I get...

dave

bird

8:54 am on Oct 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try this instead:

grep '\<ht\>' /path/to/daves/logs

the "\<" and "\>" specify that you're searching for a word that starts and ends there respectively. Of course, if this is really the full UA in an extended standard log file, then including the double quotes in the pattern as well might give even better results:

grep '"ht"' /path/to/daves/logs

Note that you need single quotes around the full pattern in both cases, so that the shell doesn't eat the <, >, or ".

carfac

4:50 pm on Oct 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



bird:

Thanks for the advice- just what I needed to track this booger down!

dave