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

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

Re: Simple EMACS Grep


From: Peter Dyballa
Subject: Re: Simple EMACS Grep
Date: Fri, 20 Apr 2007 11:05:41 +0200


Am 20.04.2007 um 05:23 schrieb bobblue88@gmail.com:

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.

You need to add:

        \( -name "*.[chs]" -or -name "*.cpp“ \)

And so one if you have more detailed wishes.

--
Mit friedvollen Grüßen

  Pete

The human animal differs from the lesser primates in his passion for lists of "Ten Best".
                                     -- H. Allen Smith






reply via email to

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