Fix bug in grep example.