Re: perl -i is very dangerous !

2002-05-06 Thread Peter J. Acklam
"Gerrit P. Haase" <[EMAIL PROTECTED]> wrote: > Marc schrieb: > > > mc@MILLENIUM:~/test/perldestroy# cat test.txt > > this is > > a test > > for cygwin > > mc@MILLENIUM:~/test/perldestroy# perl -i -ne 's/this/works/' test.txt > > Can't do inplace edit on test.txt: Permission denied. > > mc@MILLEN

Re: perl -i is very dangerous !

2002-05-03 Thread Gerrit P. Haase
David schrieb: > I posted a (backward!) patch for this behavior on Aug 9, 2001 > http://sources.redhat.com/ml/cygwin/2001-08/msg00491.html > I also sent it to the perl maintainers, although I may not > sent it to the cygwin perl maintainer. Apparently it never > made it into the released packa

Re: perl -i is very dangerous !

2002-05-03 Thread Gerrit P. Haase
Marc schrieb: > mc@MILLENIUM:~/test/perldestroy# cat test.txt > this is > a test > for cygwin > mc@MILLENIUM:~/test/perldestroy# perl -i -ne 's/this/works/' test.txt > Can't do inplace edit on test.txt: Permission denied. > mc@MILLENIUM:~/test/perldestroy# ls > any idea ? It is gone. Use perl

RE: perl -i is very dangerous !

2002-05-03 Thread Robinow, David
> -Original Message- > From: Marc Chantreux [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 03, 2002 12:10 PM > To: [EMAIL PROTECTED] > Subject: perl -i is very dangerous ! > > > mc@MILLENIUM:~/test/perldestroy# cat test.txt > this is > a test >

perl -i is very dangerous !

2002-05-03 Thread Marc Chantreux
--- Begin Message --- mc@MILLENIUM:~/test/perldestroy# cat test.txt this is a test for cygwin mc@MILLENIUM:~/test/perldestroy# perl -i -ne 's/this/works/' test.txt Can't do inplace edit on test.txt: Permission denied. mc@MILLENIUM:~/test/perldestroy# ls any idea ? Regards, Marc --- End Me