From owner-freebsd-questions@FreeBSD.ORG Sun Jun 8 20:33:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A265D106566B for ; Sun, 8 Jun 2008 20:33:52 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from fmailhost01.isp.att.net (fmailhost01.isp.att.net [207.115.11.51]) by mx1.freebsd.org (Postfix) with ESMTP id 8A2BB8FC13 for ; Sun, 8 Jun 2008 20:33:52 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from [10.5.21.122] (adsl-1-197-246.bna.bellsouth.net[65.1.197.246]) by isp.att.net (frfwmhc01) with ESMTP id <20080608203351H0100baulje>; Sun, 8 Jun 2008 20:33:52 +0000 X-Originating-IP: [65.1.197.246] Message-ID: <484C422D.3080309@datapipe.com> Date: Sun, 08 Jun 2008 15:33:49 -0500 From: Paul Procacci User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Jos Chrispijn References: <484C3CC4.7050107@webrz.net> In-Reply-To: <484C3CC4.7050107@webrz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Grep Guru X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2008 20:33:52 -0000 Jos Chrispijn wrote: > I tried to make a grep script on find a string in all files on path ./ > and down. It does anything exept searching in files and reporting them. > Is there a Grep Guru who can hint me out? Thanks, > > -- Jos > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" You want it to report the files in which the string was found? grep -rl ~Paul