Re: Read txt file and use each line as regex and output matches t o file.

2005-09-11 Thread John W. Krahn
Keenan, Greg John (Greg)** CTR ** wrote: > > There is a solution, "Trailing a Growing File", in the Perl Cookbook that I > have used before that may solve your problem. > > I ran my script from inittab so it respawned if it died and it checks any > new data written to a log file. If a certain st

RE: Read txt file and use each line as regex and output matches t o file.

2005-09-11 Thread Keenan, Greg John (Greg)** CTR **
>Thanks for the pointers I have made your recommended modifications, as you >can see I'm new to this, much appreciated. :-) > >The script as it stands is very inefficient because of the way I have done >it, you mentioned saving the matches or IP's in a hash how would I go about >doing this if you