Re:Livegrep: Live searching the Linux kernel source code
by a3_nm on Friday April 20, 2012 @07:33PM
(#3870248)
Is there an equivalent CLI tool? (Preprocess a tree of files, possibly keep it in RAM as a daemon, and answer queries in realtime.)
[ Parent
| on HN ]
Re:Livegrep: Live searching the Linux kernel source code
by 4ad on Friday April 20, 2012 @07:42PM
(#3870273)
Russ Cox's codesearch: https://code.google.com/p/codesearch/
Russ Cox wrote the old Google Code Search, codesearch is an implementation in Go based on the same ideas.
Re:Livegrep: Live searching the Linux kernel source code
by jpitz on Friday April 20, 2012 @10:59PM
(#3870720)
I wrote one once, though not ram based, based on a lucene index, about 6 years ago, that crawled a subversion repository and presented a web query interface. It was a quick project to write.
These days, git grep is hard to beat.