From owner-freebsd-questions Fri Jan 21 9:59:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from houston.matchlogic.com (houston.matchlogic.com [205.216.147.127]) by hub.freebsd.org (Postfix) with ESMTP id 6C63415460 for ; Fri, 21 Jan 2000 09:59:48 -0800 (PST) (envelope-from crandall@matchlogic.com) Received: by houston.matchlogic.com with Internet Mail Service (5.5.2650.21) id ; Fri, 21 Jan 2000 10:59:45 -0700 Message-ID: <64003B21ECCAD11185C500805F31EC0304D97722@houston.matchlogic.com> From: Charles Randall To: freebsd-questions@freebsd.org Subject: RE: UNIX search n replace Date: Fri, 21 Jan 2000 10:59:44 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Grab a Perl manual and build something along the lines of, % perl -i.bak -pe 's/word1/word2/g;' Charles -----Original Message----- From: Juan Kuuse [mailto:archiver@db.geocrawler.com] Sent: Friday, January 21, 2000 10:10 AM To: freebsd-questions@freebsd.org Subject: UNIX search n replace This message was sent from Geocrawler.com by "Juan Kuuse" Be sure to reply to that address. More a common UNIX question than a FreeBSD topic: grep to search a keyword multiple files How do I search and replace one keyword for another in multiple files, any suggestions? Thanks in advance! Juan Kuuse kuuse@quik.guate.com Geocrawler.com - The Knowledge Archive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message