Subject: bug#23451: 25.0.93; Clarify the dependency on find/grep for platforms not having those tools

From: Eli Zaretskii <[email-masked]>
Date: Mon, 29 May 2017 20:35:56 +0300

> From: [email-masked]
> Date: Mon, 29 May 2017 08:43:58 -0400
> Cc: [email-masked], Kaushal Modi <[email-masked]>
> 
> This seems to work:
> 
>     find ... -exec sh -c 'grep -i -E -nH -e turn-on-eldoc-mode "$@" ; [ $? -le 1 ]' sh '{}' +

Who said sh is available?

I think we should simply test explicitly for 'find' and 'grep' being
available, before we run the command.  Otherwise, it sounds like we
will increase the complexity and the fragility of the feature, to very
little gain.