Chris wrote:
I know this may be very simple, but I'm still learning.
I have a log file that looks like:
/home/cluster_httpd/sites/something.com
/home/cluster_httpd/sites/something.com/certs
/home/cluster_httpd/sites/something.com/web
Well, this is a rundown of what is working, but it's slow due to the number
of lines.
- Chris
open (THE_INPUT,/home/filelist.txt) || die can\'t open filelist.log: $!;
while(THE_INPUT) {
chomp;
push (@FILTERED_LINES,$_) if (-f $_);
}
close THE_INPUT;
foreach $thing (@FILTERED_LINES)
Chris wrote:
Chris wrote:
I know this may be very simple, but I'm still learning.
I have a log file that looks like:
/home/cluster_httpd/sites/something.com
/home/cluster_httpd/sites/something.com/certs
/home/cluster_httpd/sites/something.com/web
On approximately 8/28/2003 2:58 PM, came the following characters from
the keyboard of Chris:
Well, this is a rundown of what is working, but it's slow due to the number
of lines.
- Chris
open (THE_INPUT,/home/filelist.txt) || die can\'t open filelist.log: $!;
while(THE_INPUT) {
chomp;
push
-Original Message-
Glenn Linderman
Sent: Friday, August 29, 2003 1:05 AM
Subject: Re: Filter text in log file
/home/cluster_httpd/sites/something.com
/home/cluster_httpd/sites/something.com/certs
/home/cluster_httpd/sites/something.com/web
/home/cluster_httpd/sites/something.com/web