| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Can get uniq to work as intended|
| 9:34 pm on May 17, 2007 (gmt 0)|
I'd like to know how many people visited a specific part of my website during the month of april so i use this:
cat access_log ¦ grep /Apr/ ¦ grep multimedia
This works fine.
But i want to filter out duplicates based on IPs, so i can get number of unique visitors.
So i add this:
cat access_log ¦ grep /Apr/ ¦ grep multimedia [b] ¦ uniq -w 15 -i [/b]
But it simply will not give me unique lines based on the first 15 characters.
So whats the problem?
Thanks in advance.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved