From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hisashi T Fujinaka Subject: Re: Questions! Date: Thu, 1 Apr 2004 08:01:46 -0800 (PST) Sender: linux-admin-owner@vger.kernel.org Message-ID: References: <003d01c4175e$d5296100$020aa8c0@Scott> <015d01c41760$343c8fe0$2a6156d1@DF69MK11> <16491.17657.837738.18592@cerise.nosuchdomain.co.uk> <20040401075037.GA31323@fede2.tumsan.fi> <003b01c417fd$d70a2eb0$ad6c56d1@DF69MK11> Mime-Version: 1.0 Return-path: In-Reply-To: <003b01c417fd$d70a2eb0$ad6c56d1@DF69MK11> List-Id: Content-Type: TEXT/PLAIN; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Hal Wigoda Cc: urgrue , admin Must be April 1. Try it, and you'll learn that gnu grep has the "-r" flag that lets you recurse into directories and that grep looks in files. On Thu, 1 Apr 2004, Hal Wigoda wrote: > sorry, but that is NOT correct either. > > he is looking for files that content the string "index.html" > within the file, > NOT the file name. > > > ----- Original Message ----- > From: "urgrue" > To: "admin" > Sent: Thursday, April 01, 2004 1:50 AM > Subject: Re: Questions! > > > > i always simply use: > > grep -r index.html /some/path/* -- Hisashi T Fujinaka - htodd@twofifty.com BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte