Search Results

Search: Posts Made By: druisgod
Forum: Programming 04-28-2011
1,393
Posted By druisgod
perl newb issue
This program is supposed to print the date to a file and then the data it parses out of access.log and instead prints out the data it parses, and then the date. Sry, I've been playing with perl for...
7,237
Posted By druisgod
Carp. You're right! Sorry about that, I must have...
Carp. You're right! Sorry about that, I must have messed it up somehow when I ran it. I seriously didn't think any of them were working. Thanks for the reply!
7,237
Posted By druisgod
I did all but the perl repsonse. (I don't write...
I did all but the perl repsonse. (I don't write perl and wasn't sure how to implement it inline). Unfortunately nothing worked. I just solved it though. It seems that the trailing / is the causing...
7,237
Posted By druisgod
It still prints out everything instead of lines...
It still prints out everything instead of lines ending in .com/ .org/, etc.
7,237
Posted By druisgod
ugh. I tried, but because I'm a new user I'm not...
ugh. I tried, but because I'm a new user I'm not allowed to post links. The log file get's awk'ed out like this:

xttp://google.com/ (http://google.com/)
xttp://www.google.com/...
7,237
Posted By druisgod
Parsing out access.log with awk and grep
In part of my script I use awk to pull out the urls.

awk '{print $8}' then I take them and send them to grep.`

Some of them are straight .com/ or .org or whatever (address bar entries), while...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 08:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy