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

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

selected word as parameter to function


From: Rodrigo Canellas
Subject: selected word as parameter to function
Date: Mon, 03 Nov 2008 17:11:28 -0200
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Hi,

I would like to create a function that would execute:

grep -nH -R --include="*.cpp" --include="*.h" --include ="*.c" -e "'selected-word'" .

Where 'selected-word' would be the word where the cursor is at (or below?).

I would very much appreciate your help!


Thanks a lot!

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





reply via email to

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