10
0
I find myself grepping the same codebase over and over. While it works great, each command takes about 10 seconds, so I am thinking about ways to make it faster.
So can grep
use some sort of index? I understand an index probably won't help for complicated regexps, but I use mostly very simple patters. Does an indexer exist for this case?
EDIT: I know about ctags and the like, but I would like to do full-text search.
Are you using recursive oprtion for grep or some find/xargs like way? – Michał Šrajer – 2011-08-09T11:12:47.873
@Michał : yes, -R – Peltier – 2011-08-09T12:21:59.493