From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id F1B75BC37 for ; Mon, 8 Feb 2010 03:01:49 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYCADX/bktQDPIwjWdsb2JhbACPIIweAQEBAQkJCgkRBbpUhFQEiVw X-IronPort-AV: E=Sophos;i="4.49,425,1262559600"; d="scan'208,217";a="56200991" Received: from smtp21.orange.fr ([80.12.242.48]) by mail4-smtp-sop.national.inria.fr with ESMTP; 08 Feb 2010 03:01:49 +0100 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2118.orange.fr (SMTP Server) with ESMTP id D99CB1C005B5; Mon, 8 Feb 2010 03:01:48 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2118.orange.fr (SMTP Server) with ESMTP id CAEA41C005F4; Mon, 8 Feb 2010 03:01:48 +0100 (CET) Received: from [172.24.130.43] (out1-1601fw.corp.tfbnw.net [66.220.144.27]) by mwinf2118.orange.fr (SMTP Server) with ESMTP id 9BD791C005B5; Mon, 8 Feb 2010 03:01:47 +0100 (CET) X-ME-UUID: 20100208020147638.9BD791C005B5@mwinf2118.orange.fr X-ME-User-Auth: padator@wanadoo.fr Subject: Re: [Caml-list] camlp4 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/alternative; boundary=Apple-Mail-1--475502512 From: Yoann Padioleau In-Reply-To: Date: Sun, 7 Feb 2010 18:01:46 -0800 Cc: Martin DeMello , Tiphaine Turpin , caml-list@yquem.inria.fr Message-Id: References: <4B6D5D34.6070403@irisa.fr> To: Ashish Agarwal X-Mailer: Apple Mail (2.1077) X-Spam: no; 0.00; camlp:01 foo:01 zsh:01 foo:01 irisa:01 beginner's:01 ocaml:01 bug:01 beginner's:01 ocaml:01 bug:01 zsh:01 irisa:01 git:98 git:98 --Apple-Mail-1--475502512 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Feb 7, 2010, at 5:14 PM, Ashish Agarwal wrote: > > - the source folder tree is deep, and thus harder to grep >=20 > I use find. >=20 > $ find ./ -exec grep "foo" {} \; You can also use a shell like zsh or eshell and do grep foo **/*.ml* When you use eshell the grep result is even clickable. >=20 >=20 >=20 > On Sun, Feb 7, 2010 at 12:19 PM, Martin DeMello = wrote: > On Sat, Feb 6, 2010 at 5:44 PM, Tiphaine Turpin > wrote: > > - the source folder tree is deep, and thus harder to grep >=20 > tangentially, i've found that a great way to deal with that is to > import the whole thing into a local git repository and then use git > grep. works like a charm, and is *fast*. >=20 > martin >=20 > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >=20 > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs --Apple-Mail-1--475502512 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
On Feb 7, 2010, at 5:14 PM, Ashish Agarwal wrote:

> - the source folder tree is deep, and thus harder to grep

I use find.

$ find ./ -exec grep "foo" {} \;


You can also use a shell like zsh or eshell and do

grep foo **/*.ml*


When you use eshell  the grep result is even clickable.





On Sun, Feb 7, 2010 at 12:19 PM, Martin DeMello <martindemello@gmail.com> wrote:
On Sat, Feb 6, 2010 at 5:44 PM, Tiphaine Turpin
<Tiphaine.Turpin@irisa.fr> wrote:
> - the source folder tree is deep, and thus harder to grep

tangentially, i've found that a great way to deal with that is to
import the whole thing into a local git repository and then use git
grep. works like a charm, and is *fast*.

martin

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

--Apple-Mail-1--475502512--