Problem with perl -i option

Christopher Faylor cgf@redhat.com
Wed Aug 15 07:36:00 GMT 2001


On Wed, Aug 15, 2001 at 10:45:15AM +0200, Ralf Habacker wrote:
>Hi,
>perl has an -i[<extension>] 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



More information about the Cygwin-apps mailing list