delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/03/13:45:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <80575AFA5F0DD31197CE00805F650D767B21FD@wilber.adroit.com>
From: "Robinow, David" <drobinow AT dayton DOT adroit DOT com>
To: "'Marc Chantreux'" <chantreux DOT marc AT wanadoo DOT fr>,
"'cygwin AT cygwin DOT com'"
<cygwin AT cygwin DOT com>
Subject: RE: perl -i is very dangerous !
Date: Fri, 3 May 2002 13:44:47 -0400
MIME-Version: 1.0


> -----Original Message-----
> From: Marc Chantreux [mailto:chantreux DOT marc AT wanadoo DOT fr]
> Sent: Friday, May 03, 2002 12:10 PM
> To: cygwin-help AT cygwin DOT com
> Subject: perl -i is very dangerous !
> 
> 
> mc AT MILLENIUM:~/test/perldestroy# cat test.txt
> this is
> a test
> for cygwin
> mc AT MILLENIUM:~/test/perldestroy# perl -i -ne 's/this/works/' test.txt
> Can't do inplace edit on test.txt: Permission denied.
> mc AT MILLENIUM:~/test/perldestroy# ls

 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 package.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019