On Wed, 7 Sep 2005, Tim Wolak wrote:

> I need to clean up a host file from the worm that was out a couple 
> weeks ago. I have done pattern matching but not this big before, can 
> anyone offer some advice on how to clean this up. I do have some 
> machines that have host entries in this file so I don't want to delete 
> any of that information.

Maybe I'm being stupid, but if you've already found what you want to 
remove from the hosts file, why not just delete it with an ordinary text 
editor ? You could write a Perl script to do this, sure, but why ?

Perl is a great tool, but it isn't always the right tool to use. 



-- 
Chris Devers

QÇ´
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>

Reply via email to