From owner-freebsd-questions@FreeBSD.ORG Sun Jun 8 20:15:56 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 D97F1106564A for ; Sun, 8 Jun 2008 20:15:56 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id E3FCB8FC2C for ; Sun, 8 Jun 2008 20:15:55 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m58KFoTw009992; Sun, 8 Jun 2008 22:15:50 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m58KFocr009989; Sun, 8 Jun 2008 22:15:50 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 8 Jun 2008 22:15:50 +0200 (CEST) From: Wojciech Puchar To: Jos Chrispijn In-Reply-To: <484C3CC4.7050107@webrz.net> Message-ID: <20080608221328.U9955@wojtek.tensor.gdynia.pl> References: <484C3CC4.7050107@webrz.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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:15:56 -0000 > 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, find . -type f -print0|xargs -0 grep anyway it's nothing about being Grep Guru, or Find Guru but it's really worth to be Man Guru :) man find man xargs