From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 13:02:46 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 A080A37B401 for ; Wed, 23 Jul 2003 13:02:46 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4FDE43FA3 for ; Wed, 23 Jul 2003 13:02:45 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19fPn2-0006F9-00 for ; Wed, 23 Jul 2003 22:00:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19fL1H-0003aS-00 for ; Wed, 23 Jul 2003 16:55:07 +0200 From: "Scott I. Remick" Date: Wed, 23 Jul 2003 10:56:19 -0400 Lines: 8 Message-ID: <1gf6uzxb9h9ir.1okxodxnyrkv2.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@main.gmane.org User-Agent: 40tude_Dialog/2.0.5.1 Sender: news Subject: search & replace on multiple files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: scott@sremick.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 20:02:46 -0000 Hello... I'm trying to figure out a way to pull off the following: I have a subdir with many different sorts of text files (some nested in additional subdirs, so recursion would be necessary) that need to have a search & replace done on them. What's a quick way to script a global search & replace on many/all text files in nested subirs? Thanks!