Re: question regarding inplace edit

2006-01-11 Thread Ranish
On Wednesday 11 January 2006 15:11, Rajarshi Das wrote: > Hi, > The following one-liner replaces 'hola' with 'warnings' in-place in the > script a.t. > > ./perl -e 's/hola/warnings/gi' -p -i.bak a.t > > However, it also creates a backup file a.t.bak with the original text. > > Is it possible that i

Re: question regarding inplace edit

2006-01-11 Thread Tom Phoenix
On 1/11/06, Rajarshi Das <[EMAIL PROTECTED]> wrote: > Is it possible that if an inplace edit is attempted without creating a > backup file, perl cannot delete the original file to replace with the > modified file and, the original file will be left unmodified ? I'm not sure about what you're aski