[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to get file hyperlink when using grep recursively
From: |
acomber |
Subject: |
How to get file hyperlink when using grep recursively |
Date: |
Tue, 26 Feb 2013 03:01:30 -0800 (PST) |
I know how to use grep across a folder to filed something, eg m-x grep
But if I need to search recursively from a root folder which contains no
files, this doesn't work - I tried the -r option but that only works if
there are matching files in the root folder.
So instead I use m-! for shell command and run:
find . -name "*.cpp" -exec grep -nH -e "my pattern" \{\} \;
This will find me what I am looking for but I don't get the hyperlinked
file. so I have to manually go to file and locate.
Is there a way to recursively use grep and have the hyperlinked files I can
just click on to locate?
--
View this message in context:
http://emacs.1067599.n5.nabble.com/How-to-get-file-hyperlink-when-using-grep-recursively-tp279386.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
- How to get file hyperlink when using grep recursively,
acomber <=