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

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

Re: Simple EMACS Grep


From: stianse
Subject: Re: Simple EMACS Grep
Date: 20 Apr 2007 00:31:18 -0700
User-agent: G2/1.0

On Apr 20, 5:23 am, bobblu...@gmail.com wrote:
> Anyone has a good EMACS Grep define to search only certain file types,
> such as "*.c, *.h, *.s, *.cpp" and etc?
>
> The standard EMACS "grep-find" search all file types.
>
> Thanks,
>
> -Robert

I always use M-x grep for such cases. E.g.

M-x grep
Run grep (like this): grep -nH -e 'foo' *.c

I've never used grep-find so I'm not sure if there are any differences
between these two searches.

- Stian



reply via email to

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