From owner-freebsd-questions Sun Jan 26 19:25:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA13709 for questions-outgoing; Sun, 26 Jan 1997 19:25:41 -0800 (PST) Received: from nanguo.chalmers.com.au (nanguo.chalmers.com.au [203.1.96.5]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA13704 for ; Sun, 26 Jan 1997 19:25:36 -0800 (PST) Received: (from robert@localhost) by nanguo.chalmers.com.au (8.7.6/8.7.3) id NAA04282 for freebsd-questions@freebsd.org; Mon, 27 Jan 1997 13:26:32 +1000 (EST) From: Robert Chalmers Message-Id: <199701270326.NAA04282@nanguo.chalmers.com.au> Subject: how do I get sed to search sundirs? To: freebsd-questions@freebsd.org (bsd) Date: Mon, 27 Jan 1997 13:26:32 +1000 (EST) X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have a little sed script that will search through all files in a directory, replacing one phrase with another, and writing it back. How do I get it to step down through all the sub-directories as well? ta bob -- Triple-W: P.O. Box 2003. Mackay. 4740 +61-0412-079025 robert@chalmers.com.au for Whirled Peas http://www.chalmers.com.au Location: Whitsunday Web Works. 21'7" S, 149'14" E.