[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: update-copyright self-tests bug
From: |
Bruno Haible |
Subject: |
Re: update-copyright self-tests bug |
Date: |
Fri, 25 Nov 2011 21:48:55 +0100 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
Jim Meyering wrote:
> It looks like somehow perl is being run with -pi.bak.
Yes, apparently this is the cause. The .bak suffix appears to be the default.
I have not specified it through environment variables.
$ ls -l foo3*
-rw-r--r-- 1 bruno Kein 73 Nov 25 21:46 foo3.c
$ perl -pi -e s/x/x/ foo3.c
$ ls -l foo3*
-rw-r--r-- 1 bruno Kein 73 Nov 25 21:46 foo3.c
-rw-r--r-- 1 bruno Kein 73 Nov 25 21:46 foo3.c.bak
Seen on Cygwin 1.5.25 and 1.7.9.
Bruno
--
In memoriam Valentín Elizalde <http://en.wikipedia.org/wiki/Valentín_Elizalde>