Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2000 22:23:27 +0100
From:      "Michael Hallgren" <m.hallgren@free.fr>
To:        <paul@premier-networks.com>, <freebsd-isp@freebsd.org>
Subject:   Re: Offtopic: perl Question
Message-ID:  <00ce01bf5630$c7502300$7adcfea9@roam>
References:  <3870E02F.F009C325@premier-networks.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> 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...

Something along the lines


perl -pi -e 's/(foo)/$1 bar/ig' *


would most likely be a way to consider ?


mh


> 
> Thanks again and sorry to bother everyone...;)
> 
> Paul
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
> 



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?00ce01bf5630$c7502300$7adcfea9>