GNU bug report logs - #23451
25.0.93; Clarify the dependency on find/grep for platforms not having those tools

Previous Next

Package: emacs;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Wed, 4 May 2016 18:04:02 UTC

Severity: minor

Found in version 25.0.93

Done: Kaushal Modi <kaushal.modi <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 23451 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: npostavs <at> users.sourceforge.net
Cc: 23451 <at> debbugs.gnu.org, kaushal.modi <at> gmail.com, dgutov <at> yandex.ru
Subject: Re: bug#23451: 25.0.93;
 Clarify the dependency on find/grep for platforms not having those
 tools
Date: Mon, 29 May 2017 20:35:56 +0300
> From: npostavs <at> users.sourceforge.net
> Date: Mon, 29 May 2017 08:43:58 -0400
> Cc: 23451 <at> debbugs.gnu.org, Kaushal Modi <kaushal.modi <at> gmail.com>
> 
> 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.




This bug report was last modified 7 years and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.