bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23451: 25.0.93; Clarify the dependency on find/grep for platforms no


From: Dmitry Gutov
Subject: 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
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Thunderbird/54.0

On 5/29/17 3:43 PM, npostavs@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]