Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Wed, 15 Aug 2001 10:36:49 -0400 From: Christopher Faylor To: cygwin-apps AT cygwin DOT com Subject: Re: Problem with perl -i option Message-ID: <20010815103649.E13273@redhat.com> Reply-To: cygwin-apps AT cygwin DOT com Mail-Followup-To: cygwin-apps AT cygwin DOT com References: <000501c12566$9aaa2ba0$651c440a AT BRAMSCHE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <000501c12566$9aaa2ba0$651c440a@BRAMSCHE>; from Ralf.Habacker@saght.tessag.com on Wed, Aug 15, 2001 at 10:45:15AM +0200 On Wed, Aug 15, 2001 at 10:45:15AM +0200, Ralf Habacker wrote: >Hi, >perl has an -i[] option for inplace file changing with an optional >backup extension. > >On linux for example you can use this without explicit defining an backup >extension for example "perl -i ... test.txt" > >The cygwin port differs in that behavior. >If you use "perl -i ... test.txt" the file "test.txt" will be deleted. One have >to set an explicit file extension "perl -i.bak ... test.txt" for working. > >I have found this in the current perl version This has actually been reported in the cygwin mailing list within the last week. Unfortunately, our perl maintainer has gone silent. Is anyone here willing to pick up the perl maintainership? cgf