check for grep

Fixes #72