From: GREG CARRARA <[EMAIL PROTECTED]>
> Hello,
> I'm trying to search for a word and replace it multiple files at a
> windows command prompt with the following:
> 
> perl -pi -e 's/wordToFind/replaceWithThisWord/gi'*.fileExtension
> 
> This errors out.  I've tried to replace the delimiters / with - to no
> effect. Does someone know how to alter this to make it work under
> Windows? thanks! gc

perl -pi -e "s/wordToFind/replaceWithThisWord/gi" *.fileExtension

Change the type of quotes and put a space behind them (though I think 
the second thing was just a typo:)

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to