Greg Carrara wrote:
> 
> Thanks for the response!  However, when I try this
> perl -pi -e "s/wordToFind/replaceWithThisWord/gi" *.ext
> with ActivePerl 5.6.1, on Windows 2000, I receive the error:
> 
> CAN'T DO IN PLACE EDIT WITHOUT BACKUP
> 
> Could this have something to do with Perl not reading from and writing to a
> file at the same time?

It means that the -i switch requires an argument

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


John
-- 
use Perl;
program
fulfillment

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

Reply via email to