in reply to Cleaner way of looping through a file and stripping only certain lines?

here's a unixy non-perl solution:

egrep -v '@.*mail(9|[1-9][0-9])' < in-file > out-file
  • Comment on Re: Cleaner way of looping through a file and stripping only certain lines?
  • Download Code