in reply to Set Operators

Check out perldoc -f grep. From what I understand of your request, this is probably what you want.

thor