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

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

Re: how to recursively grep


From: Peter Dyballa
Subject: Re: how to recursively grep
Date: Tue, 21 Aug 2012 10:14:34 +0200

Am 21.08.2012 um 05:23 schrieb rusi:

> What am I doing wrong?

Are you searching at all? Your pages long find command seems to just exclude 
instead of searching…

In which files do you think the string "charset-map-path" will occur? Then 
search for these files only:

        M-x find-grep RET
        <insert the search string at the cursor position>
        <insert '-name "*.el.gz ' appropriately>
        <adjust where the search will start, if needed>
        <adjust the grep command to deal with compressed files>
        RET

It also works to search in C source files with '-name "*.[ch]"'.

--
Greetings

  Pete

The most exciting phrase to hear in science, the one that heralds new 
discoveries, is not "Eureka!" (I found it!) but "That's funny..."
                                – Isaac Asimov




reply via email to

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