On 09.12.10 07:19, Jon Rafkind wrote:
On 12/08/2010 10:12 PM, Eli Barzilay wrote:
Is this different from a recursive grep?
(See also `git grep' -- and there's a web interface for that,
http://git.racket-lang.org//plt?a=search&h=HEAD&st=grep&s=foo )
Oh I had no idea git grep existed. Well that looks good enough for now.
(BTW, recursive grep on the command line is not so trivial..
$ find . -name "*.rkt" | xargs grep foo
)
You may also try ack:
http://betterthangrep.com/
It automaticaly does recursive search and ommits repository directories
and other useless files.
It needs a config file entry for Racket though (.ackrc):
--type-set
racket=.rkt,.scrbl,.ss,.scm
Usage:
ack foo
--
regards,
Jakub Piotr Cłapa
_________________________________________________
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/dev