RE: Filter text in log file

2003-08-29 Thread Chris
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

Filter text in log file

2003-08-29 Thread 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 (@FILTERED_LINES,$_) if (-f $_); } close THE_INPUT; foreach $thing (@FILTERED_LINES)

Re: Filter text in log file

2003-08-29 Thread $Bill Luebkert
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

Re: Filter text in log file

2003-08-29 Thread Glenn Linderman
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

RE: Filter text in log file

2003-08-29 Thread Chris
-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