Use tee to both show output and pipe it to grep