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

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

Re: Problem with grep in Emacs 23.2


From: Shenli Zhu
Subject: Re: Problem with grep in Emacs 23.2
Date: Tue, 7 Sep 2010 08:22:40 +0800

Hi Peter,

Do you mean the grep-command I set should be runnable in shell? I just use grep-command to store the grep template, so it cannot be run in shell.

Why we need probe-grep? To test whether grep exists and whether its function works correctly? Can I skip it?

Thanks


On Tue, Sep 7, 2010 at 4:04 AM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

Am 06.09.2010 um 13:32 schrieb Shenli Zhu:


(2) change grep-command "grep -i -nH -e \"re\" -r \"/home/username/\"
--include=\"*.*\"" to what I want.


Does this work from the command line? (I'd use ' instead of \" to prevent the shell from expanding the meta-characters ``*´´ or ``.´´, which could cause the failure you observe.)

--
Greetings

 Pete

Spam will be a thing of the past in two years' time.
                               – Bill Gates, Jan 2004



reply via email to

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