aaAzhyd has asked for the wisdom of the Perl Monks concerning the following question:
my %ips; for (<LOG>) { $_ =~ /(.*)\s-\s-\s(\[.*?\])\s\"(.*?)\"\s(\S+)\s(\S+)\s\"(.*?) +\"\s\"(.*)\"/o; if (! $ips{$1}) { $ips{$1} = 1; if ($6 !~ /-/) { print "$2 $1 $6\n"; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Big file, system no likey ..
by Enlil (Parson) on Jun 18, 2003 at 22:56 UTC | |
by Anonymous Monk on Jun 19, 2003 at 13:51 UTC | |
|
Re: Big file, system no likey ..
by artist (Parson) on Jun 18, 2003 at 23:04 UTC | |
|
Re: Big file, system no likey ..
by BrowserUk (Patriarch) on Jun 18, 2003 at 22:42 UTC |