bash: check for existing greps