colors a pattern in a STDIN stream