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 #34 received at 23451 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: npostavs <at> users.sourceforge.net
Cc: 23451 <at> debbugs.gnu.org, Kaushal Modi <kaushal.modi <at> gmail.com>
Subject: Re: bug#23451: 25.0.93; Clarify the dependency on find/grep for
 platforms not having those tools
Date: Tue, 30 May 2017 00:44:46 +0300
On 5/29/17 3:43 PM, npostavs <at> users.sourceforge.net wrote:

> This seems to work:
> 
>      find ... -exec sh -c 'grep -i -E -nH -e turn-on-eldoc-mode "$@" ; [ $? -le 1 ]' sh '{}' +

Thank you for the attempt, but maybe I was asking too much. Seems like 
we can't rely on sh being available on all supported platforms.

I'm inclined to go with a regexp-based approach for now. "program not 
found" errors rarely look like Grep output.




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.