in reply to One-liners: Conditionals in Loops

Grep does this :)