[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Extended find an replace SOS



On Wed, Jul 10, 2002 at 02:33:48PM +0200, Craig wrote:
> Hi Guys
> 
> I need to do an extended find and replace for a few
> .htm files spanning a couple of subdirectories to
> change some things.
> 
> Anyone have a quick command to achieve this ?>

perl -pi -e 's/find/replace/g' `find dir -name '*.htm'`

Marcin
-- 
Marcin Owsiany <porridge@debian.org>             http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216


-- 
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: