update for grep.c