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 mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id EA125BC37 for ; Mon, 8 Feb 2010 02:14:39 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au8BADP0bkvRVd7CkGdsb2JhbACPIIIIghKGdlI8AQEBAQkJDAcTA6wegUqDXohxAQEDBYRPBA X-IronPort-AV: E=Sophos;i="4.49,424,1262559600"; d="scan'208";a="51850987" Received: from mail-pz0-f194.google.com ([209.85.222.194]) by mail1-smtp-roc.national.inria.fr with ESMTP; 08 Feb 2010 02:14:39 +0100 Received: by pzk32 with SMTP id 32so3686538pzk.27 for ; Sun, 07 Feb 2010 17:14:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=iGcJoCzuIHOy5cT6dk32/qVeNixj3EdTUt9AQUB8qAA=; b=GLrLn67KjGM7fIYG60lfE1CGvzd/phOfWHgzXY5Nn3gc4a2wlzj80BCainwjPTPTBK r4hzXqF6z3F26VplLXcqT7kcwYEpu5ND/9wtf7Asic5j1046icaXEyNpNu9qKVE728LZ g0YVfnFAIg6xObOWYlveiw8jXWootOwQosaVQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=D7Rt9oKAtcsRl32jCvRDVXIr9f2530y1vGpHRLKcQ8ipCYJM8Z8mzytwO+MpRNexK2 AwZWIY+W6sob5wqxge63DM8QFo66w9hwkw+1q0kqQrU8alViLfDr8k/ecrOjFYHeChhq vAIxmUawhaCMRkse/lv+UKaH6gikgG4Yj8GCs= MIME-Version: 1.0 Received: by 10.115.103.20 with SMTP id f20mr820234wam.160.1265591678126; Sun, 07 Feb 2010 17:14:38 -0800 (PST) In-Reply-To: References: <4B6D5D34.6070403@irisa.fr> From: Ashish Agarwal Date: Sun, 7 Feb 2010 20:14:18 -0500 Message-ID: Subject: Re: [Caml-list] camlp4 To: Martin DeMello Cc: Tiphaine Turpin , caml-list@yquem.inria.fr Content-Type: multipart/alternative; boundary=0016e64c260667cb13047f0c8621 X-Spam: no; 0.00; camlp:01 foo:01 irisa:01 beginner's:01 ocaml:01 bug:01 irisa:01 beginner's:01 ocaml:01 bug:01 1975:98 git:98 git:98 beginners:01 beginners:01 --0016e64c260667cb13047f0c8621 Content-Type: text/plain; charset=ISO-8859-1 > - the source folder tree is deep, and thus harder to grep I use find. $ find ./ -exec grep "foo" {} \; 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 > > 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 > --0016e64c260667cb13047f0c8621 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > - the source folder tree is deep, and thus har= der to grep

I use find.

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

--0016e64c260667cb13047f0c8621--