[TxMt] Question about Find in Project

James Andrews me at jamesandre.ws
Fri Apr 18 13:09:43 UTC 2008


On 17 Apr 2008, at 03:46, Allan Odgaard wrote:
>
> For now you can use find + grep in Terminal to produce the results,  
> e.g.:
>
>    find ~/MyProject -name '*.html' -exec grep 'foo at bar.com' '{}' \;
>
> You can give -H to grep to also output the file name, if you need it.

I'd also recommend rak (or ack, which it's based on) for this and has  
a nicer syntax.

http://rak.rubyforge.org/

I'm hoping to do rak support into Textmate at some point and have  
discovered that this has already been done for ack (though I haven't  
had a chance to try it yet):

http://www.simplicidade.org/notes/archives/2008/03/search_in_proje.html

James



More information about the textmate mailing list