in reply to Exit a program if there are any matching lines?

The monks here generally don't like to spoon feed, you've got to show you've made an effort first.

What exactly are you having trouble with? Opening the file? Reading each line? Matching against the line? From your previous posts, you know how to do atleast some of this. So have a stab at it, and post your results back here.

Cheers, Rob

---
my name's not Keith, and I'm not reasonable.
  • Comment on Re: Exit a program if there are any matching lines?