all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Shenli Zhu <zhushenli2@gmail.com>
To: Peter Dyballa <Peter_Dyballa@web.de>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Problem with grep in Emacs 23.2
Date: Tue, 7 Sep 2010 08:22:40 +0800	[thread overview]
Message-ID: <AANLkTinBzmDKa29zXSkZTdKAVzn_GyLNUA4=kzSOR4i7@mail.gmail.com> (raw)
In-Reply-To: <2491E099-746A-4074-B521-E912570D8B61@Web.DE>

[-- Attachment #1: Type: text/plain, Size: 889 bytes --]

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
>
>

[-- Attachment #2: Type: text/html, Size: 1439 bytes --]

  reply	other threads:[~2010-09-07  0:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-06 11:32 Problem with grep in Emacs 23.2 Shenli Zhu
2010-09-06 20:04 ` Peter Dyballa
2010-09-07  0:22   ` Shenli Zhu [this message]
2010-09-07  0:24     ` Lennart Borgman
2010-09-07  1:05       ` Shenli Zhu
2010-09-07  1:24         ` Lennart Borgman
2010-09-07  1:50           ` Shenli Zhu
2010-09-07  7:28             ` Shenli Zhu
     [not found]             ` <mailman.0.1283844542.27325.help-gnu-emacs@gnu.org>
2010-10-01  2:04               ` David Combs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTinBzmDKa29zXSkZTdKAVzn_GyLNUA4=kzSOR4i7@mail.gmail.com' \
    --to=zhushenli2@gmail.com \
    --cc=Peter_Dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.