From owner-freebsd-questions@FreeBSD.ORG Mon Apr 7 04:28:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98A0B37B404 for ; Mon, 7 Apr 2003 04:28:54 -0700 (PDT) Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFE2743F75 for ; Mon, 7 Apr 2003 04:28:53 -0700 (PDT) (envelope-from flynn@energyhq.homeip.net) Received: from christine.energyhq.tk (christine.energyhq.tk [192.168.100.1]) by energyhq.homeip.net (Postfix) with SMTP id 08E452B805; Mon, 7 Apr 2003 13:28:54 +0200 (CEST) Date: Mon, 7 Apr 2003 13:29:01 +0200 From: Miguel Mendez To: CARTER Anthony Message-Id: <20030407132901.6326f1e3.flynn@energyhq.homeip.net> In-Reply-To: <200304071324.52494.a.carter@intrasoft.lu> References: <200304071324.52494.a.carter@intrasoft.lu> X-Mailer: Sylpheed version 0.8.11claws (GTK+ 1.2.10; i386--netbsdelf) X-Face: 1j}k*2E>Y\+C~E|/wehi[:dCM,{N7/uE3o# P,{t7gA/qnovFDDuyQV.1hdT7&#d)q"xY33}{_GS>kk'S{O]nE$A`T|\4&p\&mQyexOLb8}FO List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 11:28:54 -0000 --=.,4.?YK+k/LbTfD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 7 Apr 2003 13:24:52 +0200 CARTER Anthony wrote: Howdy, > I am looking for a way to search inside a number of text files for a > particular string and return the name of the file if found. Any ideas? man grep example: grep foo *.c Cheers, -- Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk Tired of Spam? -> http://www.trustic.com --=.,4.?YK+k/LbTfD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (NetBSD) iD8DBQE+kWEAnLctrNyFFPERAu1VAJ9fqrex6UFvwZ/y2/ANjFgfpnbbOQCgu9pp ya2UeGBml4/aD+0Q4gjVlbc= =Hpkf -----END PGP SIGNATURE----- --=.,4.?YK+k/LbTfD--