From owner-freebsd-isp Mon Jan 3 13:19:37 2000 Delivered-To: freebsd-isp@freebsd.org Received: from asgaard.whispering.org (208-241-93-179.hsacorp.net [208.241.93.179]) by hub.freebsd.org (Postfix) with ESMTP id 52C7A15064 for ; Mon, 3 Jan 2000 13:19:31 -0800 (PST) (envelope-from will@blackdawn.com) Received: from shadow.blackdawn.com (14-098.008.popsite.net [209.69.195.98]) by asgaard.whispering.org (8.9.3/8.9.3) with ESMTP id QAA81079; Mon, 3 Jan 2000 16:19:06 -0500 (EST) (envelope-from will@blackdawn.com) Received: (from will@localhost) by shadow.blackdawn.com (8.9.3/8.9.3) id QAA07121; Mon, 3 Jan 2000 16:19:07 -0500 (EST) (envelope-from will) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3870E02F.F009C325@premier-networks.com> Date: Mon, 03 Jan 2000 16:19:07 -0500 (EST) Reply-To: Will Andrews From: Will Andrews To: paul@premier-networks.com Subject: RE: Offtopic: perl Question Cc: freebsd-isp@FreeBSD.ORG Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 03-Jan-00 paul@premier-networks.com wrote: > Hi there.. my apologies for an offtopic post.. please reply via email to > stop replies to this list... > > I have a series of HTML pages (1000+) that I need to place a particular > set of html statements with another statement... anyone know of a simple > Perl program that will do this... a friend of mine gave me a one liner > that worked fine but I've since lost it... perl -pi -e "s:replace this:with this:g" file Whenever you need to remember this, look it up in the -isp archive. -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message