unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jan Sacharuk <jan.sacharuk@gmail.com>
To: storm@cua.dk
Cc: help-gnu-emacs@gnu.org
Subject: Re: Doing a file filter with grep
Date: Fri, 26 Jan 2007 08:35:09 -0700	[thread overview]
Message-ID: <662D7D03-74FC-4E66-B16F-FA8E6F67394D@gmail.com> (raw)
In-Reply-To: <m3tzyeorxl.fsf@kfs-l.imdomain.dk>

I did, but it didn't appear to turn up anything useful. I'll take a  
look at your suggestion when I get in to work. Thanks. :)

JS

On Jan 26, 2007, at 6:09 AM, Kim F. Storm wrote:

> "RealityMonster" <jan.sacharuk@gmail.com> writes:
>
>> So I've been getting find and grep working on my WinXP system with
>> emacs. I can finally properly search for files and search in files  
>> for
>> the things that I want. I'd like, however, to put a file filter on  
>> it,
>> so I can search just through .h files or .cpp files.
>>
>> On the command line, I'd do something like this:
>>
>> grep -r Pattern `find . -name *.cpp`
>
> Try M-x rgrep
>
>  (available only in Emacs 22).
>
>>
>> Any help here? Does emacs already do what I want somewhere else? M-x
>> apropos find is understandably enormous.
>
> So why didn't you try this :-)
>    C-h a grep RET
>
>
> -- 
> Kim F. Storm  http://www.cua.dk
>

--
jan@chloris.ca
Cyclist at Large
Secret Asian Man
     DNA neither cares nor knows.
          DNA just is. And we dance to its music.
          -Richard Dawkins

  reply	other threads:[~2007-01-26 15:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-25 22:37 Doing a file filter with grep RealityMonster
2007-01-26  9:29 ` Eli Zaretskii
2007-01-26 13:09 ` Kim F. Storm
2007-01-26 15:35   ` Jan Sacharuk [this message]
     [not found] ` <mailman.3621.1169816967.2155.help-gnu-emacs@gnu.org>
2007-01-26 16:31   ` RealityMonster
     [not found] ` <mailman.3618.1169803799.2155.help-gnu-emacs@gnu.org>
2007-01-26 16:40   ` RealityMonster

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=662D7D03-74FC-4E66-B16F-FA8E6F67394D@gmail.com \
    --to=jan.sacharuk@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=storm@cua.dk \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).