Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jan 2000 16:19:07 -0500 (EST)
From:      Will Andrews <andrews@TECHNOLOGIST.COM>
To:        paul@premier-networks.com
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   RE: Offtopic: perl Question
Message-ID:  <XFMail.000103161907.andrews@TECHNOLOGIST.COM>
In-Reply-To: <3870E02F.F009C325@premier-networks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <andrews@technologist.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000103161907.andrews>