grep and execute