Re: [Re: Windows command line Search and Replace]

2003-06-16 Thread John W. Krahn
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

RE: [Re: Windows command line Search and Replace]

2003-06-16 Thread Bakken, Luke
> 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

Re: [Re: Windows command line Search and Replace]

2003-06-16 Thread GREG CARRARA
>"Jenda Krynicky" <[EMAIL PROTECTED]> wrote: >>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 e

Re: Windows command line Search and Replace

2003-06-13 Thread John W. Krahn
Greg Carrara wrote: > > Hello, 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

Re: Windows command line Search and Replace

2003-06-13 Thread Jenda Krynicky
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