grep: rebuild